i18n for Nuxt
- vue-i18n integration
- Automatic routes generation prefixed with locales code
- SEO tags generation
- Translations messages lazy-loading
- Redirection based on browser language
- Different domain names for each language
- Add
nuxt-i18n
dependency using yarn or npm to your project
yarn add nuxt-i18n
# npm i nuxt-i18n -S
- Add
nuxt-i18n
tomodules
section ofnuxt.config.js
{
modules: [
['nuxt-i18n', { /* module options */ }],
]
}
๐ Read Documentation
Copyright (c) Paul Gascou-Vaillancourt (@paulgv)