Internationalization for Nuxt
npm install @nuxtjs/i18n



Internationalization (i18n) for Nuxt apps.
- Integration with vue-i18n
- Route localization (static & dynamic)
- Lazy load translations
- SEO tag localization
- Layer support
1. Install the @nuxtjs/i18n module to your project
``sh`
npx nuxi@latest module add i18n
2. Configure the module using the i18n key in nuxt.config.ts
`ts`
{
modules: [
'@nuxtjs/i18n',
],
i18n: {
locales: [
{ code: 'en', language: 'en-US' },
{ code: 'fr', language: 'fr-FR' }
],
defaultLocale: 'en',
}
}
- đ Release notes
- đĨ Community (đ¨ī¸â help` support forum)
- đ Documentation
- Version 10.x
- Version 9.x
- Version 8.x
- Version 7.x (Nuxt 2 - EOL)
MIT License - Copyright (c) Nuxt Community