
i18n features for your Nuxt project so you can easily add internationalization.
Nuxt I18n
I18n module for Nuxt
The next i18n module for Nuxt 3
✅ Status: v8 beta
If you would like to use the stable version for Nuxt 2, please see the main
branch
🚀 Usage
Install with next
tag
- Add the following line to the
devDependencies
with your package manager:
# Using npmnpm install @nuxtjs/i18n@next --save-dev# Using yarnyarn add --dev @nuxtjs/i18n@next# Using pnpm pnpm install --shamefully-hoist -D @nuxtjs/i18n@next
- Add
@nuxtjs/i18n
to themodules
section ofnuxt.config.ts
{ modules: [ '@nuxtjs/i18n', ],}
Install edge version
- Add the following line to the
devDependencies
inpackage.json
:
"@nuxtjs/i18n": "npm:@nuxtjs/i18n-edge"
- Run
npm install
oryarn
orpnpm install --shamefully-hoist
. - Add
@nuxtjs/i18n
to themodules
section ofnuxt.config.ts
.
{ modules: [ '@nuxtjs/i18n', ],}
📖 Documentation
Keep in mind that not all features are currently supported yet and some things might be broken.
🔗 Links
- 📘 Documentation for v8
- 📘 Documentation for v7
- 🔖 Release notes
- 👥 Community (
#i18n
channel)
©️ License
MIT License - Copyright (c) Nuxt Community