openmove / odh-mentor-otp

https://mobility.meran.eu
1 stars 3 forks source link

i18next does not remember the language user selection #88

Closed stefanocudini closed 3 years ago

stefanocudini commented 3 years ago

this is strange because it reminds me that it worked

I also tried to include the i18next storage module but it doesn't seem to work: https://github.com/openmove/odh-mentor-otp/commit/33777eebbceec9ae89b8d82e4a0e61c9898e1332

@valerio-fornace I think something is broken and yet there are no errors in the console

valerio-fornace commented 3 years ago

Hei Ste! I fixed this bug. With refactor i forgot to store language in localstorage on language change event by user. Please pull from feature/fornace_ui to see changes.

stefanocudini commented 3 years ago

many thanks!