-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
navigateTo without locale prefix resets locale to default #3041
Labels
Comments
I don't understand, are you saying you expect |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Reproduction
https://stackblitz.com/edit/bobbiegoede-nuxt-i18n-starter-v5tzb6?file=app.vue
Describe the bug
If you navigate to a different page using
navigateTo
the selected locale is ALWAYS reset todefaultLocale
.Example: You get redirected `example.com/' (no prefix). Language is reset to the default one.
However, if you are currently on example.com/nl, and navigate to example.com by adjusting the url (so essentially removing the prefix), the selected language is kept, as I would expect.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: