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
If you navigate to a different page using navigateTo the selected locale is ALWAYS reset to defaultLocale.
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:
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.
I don't understand, are you saying you expect example.com to show nl translations when navigating to it from example.com/nl?
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: