disable i18n

This commit is contained in:
2025-09-22 17:35:26 +07:00
parent 6f81162b31
commit 116d448621
+26 -26
View File
@@ -66,30 +66,30 @@ export default defineNuxtConfig({
] ]
}, },
}, },
i18n: { // i18n: {
baseUrl: process.env.NUXT_PUBLIC_BASE_URL, // baseUrl: process.env.NUXT_PUBLIC_BASE_URL,
strategy: 'prefix_and_default', // strategy: 'prefix',
defaultLocale: 'th', // defaultLocale: 'th',
locales: [ // locales: [
{ // {
code: 'th', // code: 'th',
language: 'th-TH', // language: 'th-TH',
name: 'ภาษาไทย', // name: 'ภาษาไทย',
file: 'th.json', // file: 'th.json',
isCatchallLocale: true, // isCatchallLocale: true,
}, // },
{ // {
code: 'en', // code: 'en',
language: 'en-US', // language: 'en-US',
name: 'English', // name: 'English',
file: 'en.json', // file: 'en.json',
} // }
], // ],
detectBrowserLanguage: { // detectBrowserLanguage: {
useCookie: true, // useCookie: true,
cookieKey: 'i18n_language', // cookieKey: 'i18n_language',
fallbackLocale: 'th', // fallbackLocale: 'th',
}, // },
vueI18n: 'i18n.config.ts', // vueI18n: 'i18n.config.ts',
} // }
}) })