no cookie is set up on change locale, how to preserve locale across browser open/close sessions ??? #1418
-
I have a function that changes locale on button click, like this:
Changing the locale works great, but in version 6 (now upgraded to last 8.x), i saw also some cookie being set up like next_language, which on next time user came into the site found the site in the last used language. I don't see this cookie set up anymore. I get scenarios like this now:
Is there a way to store cookie with library ? or should i implement some custom solution to this Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
NextJs handles locale and routing now – |
Beta Was this translation helpful? Give feedback.
NextJs handles locale and routing now –
next-i18next
no longer handles this behaviour whatsoever.