Skip to content

Commit cc60b6b

Browse files
authored
Merge pull request #877 from kanriapp/main
fix: use previously saved translation cookie and always respect user …
2 parents d230392 + 4f116be commit cc60b6b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

nuxt.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ export default defineNuxtConfig({
4747
defaultLocale: "en",
4848
langDir: "locales/",
4949
strategy: "no_prefix",
50+
skipSettingLocaleOnNavigate: true,
51+
detectBrowserLanguage: {
52+
useCookie: true,
53+
alwaysRedirect: true
54+
}
5055
},
5156
compatibilityDate: "2024-11-01",
5257
});

0 commit comments

Comments
 (0)