Open danielwagner opened 8 years ago
Hi,
I also tired to change language on the fly using the same code, and I am getting an error from the underlying i18next library instead.
Here is my error:
I recently downloaded this wrapper and have integrated into my project. The translations are working for me, but I cannot change the language.
I was wondering if this was a result of attempting to fix the bug?
Thanks, Bill
same here ....
If the language is changed using i18n.changeLanguage after a component is rendered, the I18nDirective does not update the translations. Here is a full example:
After the language change, the template element using
i18n.t()
updates to display the English translation value while the element using thei18n
attribute still shows the initial German value.