Closed shoaibkhandev closed 9 months ago
Would you be able to provide a reproduction? 🙏
Closing this due to inactivity.
I actually think what you're experiencing is intended behaviour, detectBrowserLanguage
detects and uses the browser language by various means, if you want to ignore the browser language you should set it to false
instead. Refer to the docs for more details.
Closing this due to inactivity.
I actually think what you're experiencing is intended behaviour,
detectBrowserLanguage
detects and uses the browser language by various means, if you want to ignore the browser language you should set it tofalse
instead. Refer to the docs for more details.
I set it to false, but afterward, changing the cookie value stopped working.
@sanjarbarakayev Same thing happend with me as well if we set to false the cookie will not work. @BobbieGoede we need a default language that will take precedence over the browser default language
Please provide a minimal reproduction project and a description of the current behaviour and the expected behaviour, I can't tell if this issue is a bug, misconfiguration or miscommunication.
Environment
Reproduction
Describe the bug
The current implementation of Nuxt.js i18n module does not properly enforce the configured default locale when the application is launched. Instead, it prioritizes the browser's default locale, disregarding the configured default locale. This behavior poses a challenge for users who intend to enforce a specific default language, such as Arabic, regardless of the user's browser settings.
Additional context
No response
Logs
No response