diff --git a/nuxt.config.ts b/nuxt.config.ts index f4eea9f..3db37db 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -16,12 +16,21 @@ export default defineNuxtConfig({ i18n: { vueI18n: "./i18n.config.ts", + strategy: "no_prefix", detectBrowserLanguage: { useCookie: true, cookieKey: "tttools_lang", - redirectOn: "all", - alwaysRedirect: true, - } + }, + locales: [ + { + code: "en", + name: "English" + }, + { + code: "fr", + name: "Français" + } + ] }, supabase: {