i18n

i18n features for your Nuxt project so you can easily add internationalization.

@nuxtjs/i18n logo

Nuxt I18n

Module i18n for Nuxt

The next @nuxtjs/i18n 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

  1. Add the following line to the devDependencies wiht 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
  1. Add @nuxtjs/i18n to the modules section of nuxt.config.ts
{  modules: [    '@nuxtjs/i18n',  ],}

Install edge version

  1. Add the following line to the devDependencies in package.json:
"@nuxtjs/i18n": "npm:@nuxtjs/i18n-edge"
  1. Run npm install or yarn or pnpm isntall --shamefully-hoist.
  2. Add @nuxtjs/i18n to the modules section of nuxt.config.ts
{  modules: [    '@nuxtjs/i18n',  ],}

📖 Documentation

Read more v8 documentation.

Keep in mind that not all features are supported yet and some things might be broken.

©️ License

MIT License - Copyright (c) Nuxt Community