You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x] bug report => check the FAQ and search github for a similar issue or PR before submitting
[ ] support request => check the FAQ and search github for a similar issue before submitting
[ ] feature request
Current behavior
If I follow the readme step 2, with the following code :
This stops multiple requests being made for the same lang file. It will now return the same observable when making duplicate requests for the same language.
Fixes#397Fixes#432Fixes#447FixesGreentube/localize-router#26Fixes#462
I'm submitting a ... (check one with "x")
Current behavior
If I follow the readme step 2, with the following code :
Then in the dev console (network tab), we can see the dictionary is called twice :
Expected/desired behavior
If I comment the last line :
The dictionary is called only one time :
Reproduction of the problem
Follow the 2nd step of the readme.
What is the expected behavior?
Make a single call if the dictionary already loaded.
What is the motivation / use case for changing the behavior?
It could be painful if the dictionary is big.
Please tell us about your environment:
Angular2 (CLI) / Webpack
ngx-translate version: 6.0.0
Angular version: 2.4.0
Browser: [Chrome 56]
The text was updated successfully, but these errors were encountered: