feat(i18n): enabled fallback

pull/200/head
Anthony Fu 2022-11-29 15:07:42 +08:00
rodzic 793ae3cb4e
commit 00ae9d0b6c
1 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -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,
},
})