Comments (5)
@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
from i18n.
Would you be able to provide a reproduction? 🙏
More info
Why do I need to provide a reproduction?
Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making.
What will happen?
If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritise it based on its severity and how many people we think it might affect.
If needs reproduction
labeled issues don't receive any substantial activity (e.g., new comments featuring a reproduction link), we'll close them. That's not because we don't care! At any point, feel free to comment with a reproduction and we'll reopen it.
How can I create a reproduction?
We have a couple of templates for starting with a minimal reproduction:
👉 Reproduction starter (v8 and higher)
👉 Reproduction starter (edge)
A public GitHub repository is also perfect. 👌
Please ensure that the reproduction is as minimal as possible. See more details in our guide.
You might also find these other articles interesting and/or helpful:
from i18n.
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.
from i18n.
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.
from i18n.
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.
from i18n.
Related Issues (20)
- fix: invalid urls starting in v8.3.1
- Nuxt generate (SSG) does not update components outside of NuxtPage on locale change
- After updating nuxt and i18n versions, i18n strictMessage doesn't work.
- how can i add prefix before i18n language prefix? HOT 4
- I am not able to load a js file in locale that contains other attached json files. HOT 1
- Changing locale causes all components to be in Unmounted state
- PublicRuntimeConfig type not being recognized by eslint, only happens after nuxt 3.11.2 with i18n active HOT 1
- router.back()
- Using defineI18nLocaleDetector, event.context.i18n?.locale could be async function instead of string
- TypeScript Issue with nuxtApp.$i18n in defineNuxtPlugin HOT 1
- pages:extend pages i18n remove layout from extend pages HOT 2
- page alias no have prefix
- Can not use custom path with i18n in nuxt.config.ts HOT 2
- docs: Add note/link about i18n-t,… on components api page
- Mobile adaptation problem of nuxt/i18n in nuxt3
- I18n configured the pages option and set customRoutes to true. The file path is also present, but the terminal reported an error stating that the route does not exist HOT 1
- Regression: Retrieve object nodes
- how can I support returning objects or arrays from the language file?
- Content with github source driver HOT 1
- useLocalePath() and then <NuxtLinkLocale> wrongly encoding paths for some uris
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i18n.