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 translateService.translations = myTranslations will save myTranslations on private property _currentLang instead of _translations
Expected/desired behavior translateService.translations = myTranslations write on _translations property and not _currentLang
I'm submitting a ... (check one with "x")
Current behavior
translateService.translations = myTranslations
will savemyTranslations
on private property_currentLang
instead of_translations
Expected/desired behavior
translateService.translations = myTranslations
write on_translations
property and not_currentLang
Reproduction of the problem
On line
https://github.com/ngx-translate/core/blob/master/src/translate.service.ts#L142
you can easily see the Issue
Please tell us about your environment:
ngx-translate version: 6.0.1
Angular version: 2.4.10
Browser: [all]
The text was updated successfully, but these errors were encountered: