chantouchsek / i18n

I18n module for Nuxt

Home Page:https://v8.i18n.nuxtjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@nuxtjs/i18n logo

Volta board

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

  1. Add the following line to the devDependencies with your package manager:
# Using npm
npm install @nuxtjs/i18n@next --save-dev

# Using yarn
yarn 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 install --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 currently supported yet and some things might be broken.

πŸ”— Links

©️ License

MIT License - Copyright (c) Nuxt Community

About

I18n module for Nuxt

https://v8.i18n.nuxtjs.org

License:MIT License


Languages

Language:TypeScript 96.6%Language:Vue 2.6%Language:JavaScript 0.4%Language:Shell 0.4%