chore: use latest i18n v9 (#3059)
This commit is contained in:
parent
e6ebde3ac4
commit
f4b667fef6
10 changed files with 313 additions and 332 deletions
|
@ -311,8 +311,12 @@ export default defineNuxtConfig({
|
|||
lazy: true,
|
||||
strategy: 'no_prefix',
|
||||
detectBrowserLanguage: false,
|
||||
langDir: 'locales',
|
||||
// relative to i18n dir on rootDir: not yet v4 compat layout
|
||||
langDir: '../locales',
|
||||
defaultLocale: 'en-US',
|
||||
experimental: {
|
||||
generatedLocaleFilePathFormat: 'relative',
|
||||
},
|
||||
vueI18n: './config/i18n.config.ts',
|
||||
},
|
||||
pwa,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue