You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're also experiencing redirection issues when using the latest v9.1.1 with the language autodetection and cookie redirection so something definitely got broken in this latest version.
Didn't open a new issue as it seems this will probably be the same.
On a larger project we're developing, once we switch to some other language than the default, then we can't change it back to the default.
Unfortunately I cannot replicate this exact behavior on a stackblitz reproduction.
But I did prepare a repro where you can definitely see weird behavior on the redirect cookies like duplicate cookies, cookies named "undefined", cookies with a date on the name, etc (see screenshot)
Environment
Reproduction
https://github.com/xdkaka/test-nuxt
Describe the bug
Description
After deploying to production, when detecting browser language and redirecting, some i18n translations don't update properly until page refresh.
Steps to Reproduce
http://localhost
http://localhost/zh-CN
based on browser languagehttp://localhost/zh-CN
fixes the issueExpected Behavior
All translations should update to target language immediately after redirect.
Actual Behavior
Working:
Not Working:
Error Message
CG-eFvx0.js:14 Hydration completed but contains mismatches.
Environment
Quick Setup
Additional Context
Additional context
No response
Logs
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: