This is a major version release that changes some defaults, deprecates some options and changes the name of the published package. Refer to the Migration Guide from v6 to v7 for detailed migration steps.
⚠ BREAKING CHANGES
- rename package to @nuxtjs/i18n
- set redirectOn to root by default (#1244)
- remove vuex syncLocale & vuex syncMessages (#1240)
- disable addDirAttribute by default (#1239)
- replace onlyOnNoPrefix and onlyOnRoot with redirectOn (#1210)
- remove deprecated seo option (#1232)
- remove deprecated (#1207)
- types: remove deprecated NuxtVueI18n (#1206)
- remove deprecated beforeLanguageSwitch (#1200)
Code Refactoring
- disable addDirAttribute by default (#1239) (eac6130)
- remove deprecated
$nuxtI18nSeo
(#1207) (d8134a3) - remove deprecated beforeLanguageSwitch (#1200) (d591662)
- remove deprecated seo option (#1232) (bedf2b8)
- remove vuex syncLocale & vuex syncMessages (#1240) (399f1a3)
- rename package to @nuxtjs/i18n (b3ef21c)
- replace onlyOnNoPrefix and onlyOnRoot with redirectOn (#1210) (2eb955a)
- set redirectOn to root by default (#1244) (956df98)
- types: remove deprecated NuxtVueI18n (#1206) (e96688c)