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
Just tried out at the @nuxtjs/i18n module repo. Also there it's similar. I set my Browser to french, add strategy: 'prefix' in nuxt.config.ts, open http://localhost:3000 and will be redirected to http://localhost:3000/en instead of http://localhost:3000/fr.
Environment
Reproduction
Reproduction repo: https://github.com/baijii/nuxt_i18n_router_bug
Describe the bug
With a German browser (without locale cookie) I navigate to
/about-us
.Is:
I get redirected to
/en/about-us
Should:
I get redirected to
/de/ueber-uns
With a German browser (with locale cookie
de
) I navigate to/about-us
.Is:
I get a 404 error
Should:
I get redirected to
/de/ueber-uns
Additional context
I added some cypress tests, that can executed by firstly starting the server:
and then start the cypress tests
Logs
No response
The text was updated successfully, but these errors were encountered: