Switch language on-the-fly
alp82 opened this issue · 1 comments
alp82 commented
I am loading translations dynamically (not precompiled). The user can choose display language in the application. I would like to apply translations without reloading the whole page.
I tried with calling useLocale()
but it didn't update currently shown components.
Is it somehow possible?
alp82 commented
I seem to have made a mistake with my first approach. It seems to work just fine. I suspect that i used translations before setting a language with useLocale. Closing this.