Closed krnlde closed 9 years ago
Mmmhh,... Thanks for reporting this issue :)
Changing language in ng-i18next
doesn't work as you might think because we're reinitializing i18next
everytime options change (including language). (We have to change that...)
Try to add t = null;
here: https://github.com/i18next/ng-i18next/blob/master/dist/ng-i18next.js#L81
Please tell me if this works (haven't tested, yet). I currently don't have that much time for this project, so please let me know if you found a solution.
Regards, Andre
It indeed removes the browser warning. Can this be accepted as a solution? Next step PR?
Glad to hear that.
Yes. Will be fixed in the next release (hopefully tomorrow or at least on the weekend).
Thanks man!
Done. Latest version is online and also works with i18next >= 1.10.0
.
I'm referencing i18next/i18next#391 since this problem is specific to i18next/ng-i18next.
Are there suggestions on how to solve this other than:
Greetings, krnl