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
redirectOntorootby default (#1244) - remove vuex
syncLocale& vuexsyncMessages(#1240) - disable
addDirAttributeby default (#1239) - replace
onlyOnNoPrefixandonlyOnRootwithredirectOn(#1210) - remove deprecated
seooption (#1232) - remove deprecated
$nuxtI18nSeo(#1207) - types: remove deprecated
NuxtVueI18n(#1206) - remove deprecated
beforeLanguageSwitch(#1200)
Code Refactoring
- disable
addDirAttributeby default (#1239) (eac6130) - remove deprecated
$nuxtI18nSeo(#1207) (d8134a3) - remove deprecated
beforeLanguageSwitch(#1200) (d591662) - remove deprecated
seooption (#1232) (bedf2b8) - remove vuex
syncLocale& vuexsyncMessages(#1240) (399f1a3) - rename package to
@nuxtjs/i18n(b3ef21c) - replace
onlyOnNoPrefixandonlyOnRootwithredirectOn(#1210) (2eb955a) - set
redirectOnto root by default (#1244) (956df98) - types: remove deprecated
NuxtVueI18n(#1206) (e96688c)