rp
02/14/2022, 4:30 AMrp
02/14/2022, 4:30 AMscherbatsky.jr
02/14/2022, 4:32 AMnkshah2
02/14/2022, 7:04 AMBruno Diferente
02/14/2022, 10:30 AMrp
02/14/2022, 10:31 AMrp
02/14/2022, 10:31 AMBruno Diferente
02/14/2022, 10:32 AMrp
02/14/2022, 10:33 AMBruno Diferente
02/14/2022, 10:33 AMrp
02/14/2022, 10:33 AMporcellus
02/14/2022, 10:36 AMBruno Diferente
02/14/2022, 10:36 AMporcellus
02/14/2022, 10:37 AMBruno Diferente
02/14/2022, 10:37 AMBruno Diferente
02/14/2022, 10:38 AMBruno Diferente
02/14/2022, 10:38 AMporcellus
02/14/2022, 10:38 AMporcellus
02/14/2022, 10:39 AMBruno Diferente
02/14/2022, 10:40 AMporcellus
02/14/2022, 10:41 AMBruno Diferente
02/14/2022, 10:44 AMBruno Diferente
02/14/2022, 10:44 AMBruno Diferente
02/14/2022, 11:07 AMporcellus
02/14/2022, 11:09 AMchangeLanguage
? You mean an event handler? Could you call the i18next.changeLanguage
manually to test if it actually changes the language of the auth UI? e.g, in the browser console?mr_robek
02/14/2022, 11:56 AMBruno Diferente
02/14/2022, 11:56 AMBruno Diferente
02/14/2022, 11:59 AMporcellus
02/14/2022, 12:03 PMi18n.changeLanguage
(the function) is not getting called. so if you can get access to the i18n
instance in the browser console (e.g., add (window as any).i18n = i18n;
to localization/index.ts
then you should be able to call the changelanguage in the browser.porcellus
02/14/2022, 12:05 PMtranslationFunc
(something like: translationFunc: (key) => {console.log(key, i18n.t(key)); return i18n.t(key);},
and see what your translation function is returning.