forked from Mirrors/elk
feat(i18n): enabled fallback
This commit is contained in:
parent
793ae3cb4e
commit
00ae9d0b6c
1 changed files with 5 additions and 2 deletions
|
@ -90,10 +90,13 @@ export default defineNuxtConfig({
|
|||
].sort((a, b) => a.code.localeCompare(b.code)),
|
||||
strategy: 'no_prefix',
|
||||
detectBrowserLanguage: false,
|
||||
// TODO:
|
||||
// lazy: true,
|
||||
langDir: 'locales',
|
||||
defaultLocale: 'en-US',
|
||||
vueI18n: {
|
||||
fallbackLocale: 'en-US',
|
||||
},
|
||||
// TODO:
|
||||
// lazy: true,
|
||||
},
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue