User locale now saves !
This commit is contained in:
@@ -16,12 +16,21 @@ export default defineNuxtConfig({
|
|||||||
|
|
||||||
i18n: {
|
i18n: {
|
||||||
vueI18n: "./i18n.config.ts",
|
vueI18n: "./i18n.config.ts",
|
||||||
|
strategy: "no_prefix",
|
||||||
detectBrowserLanguage: {
|
detectBrowserLanguage: {
|
||||||
useCookie: true,
|
useCookie: true,
|
||||||
cookieKey: "tttools_lang",
|
cookieKey: "tttools_lang",
|
||||||
redirectOn: "all",
|
},
|
||||||
alwaysRedirect: true,
|
locales: [
|
||||||
}
|
{
|
||||||
|
code: "en",
|
||||||
|
name: "English"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
code: "fr",
|
||||||
|
name: "Français"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
supabase: {
|
supabase: {
|
||||||
|
|||||||
Reference in New Issue
Block a user