Replies: 1 comment
-
Converted to a discussion as this is not an issue but a question. I haven't worked on i18n v7 for Nuxt 2, but it likely also uses the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the feature
How to dynamically specify the default language in the code of NuxtJS 2 instead of setting defaultLocale in nuxt.config.js.
For instance, in js code dynamically setting it to fr so that after SSR rendering, the lang attribute in the HTML code is fr, and there is no /fr suffix in the URL.
Beta Was this translation helpful? Give feedback.
All reactions