We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 485cc9c commit 43fb5efCopy full SHA for 43fb5ef
1 file changed
nuxt.config.ts
@@ -236,7 +236,11 @@ export default defineNuxtConfig({
236
locales: currentLocales,
237
defaultLocale: 'en-US',
238
strategy: 'no_prefix',
239
- detectBrowserLanguage: false,
+ detectBrowserLanguage: {
240
+ useCookie: true,
241
+ cookieKey: 'npmx-locale',
242
+ fallbackLocale: 'en-US',
243
+ },
244
langDir: 'locales',
245
},
246
})
0 commit comments