disable i18n
This commit is contained in:
+26
-26
@@ -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',
|
||||||
}
|
// }
|
||||||
})
|
})
|
||||||
Reference in New Issue
Block a user