Socket
Socket
Sign inDemoInstall

@nuxtjs/i18n

Package Overview
Dependencies
245
Maintainers
9
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nuxtjs/i18n

i18n for Nuxt


Version published
Weekly downloads
176K
decreased by-1.91%
Maintainers
9
Install size
57.5 MB
Created
Weekly downloads
 

Changelog

Source

v8.0.0 (2023-12-25T05:32:20Z)

We are thrilled to announce the release of Nuxt I18n v8.0! 🎉

We had commited with 60 over contributors between Nov 28 2021 and Dec 25 2023. Thanks for your contributing ❤️

📖 Documentation

📜 v8 Changes

See more view changes on GitHub

Readme

Source

Nuxt i18n

Volta board

Nuxt I18n

I18n module for Nuxt

The next i18n module for Nuxt 3

✅ Status: v8 RC (Release candidate)

If you would like to use the stable version for Nuxt 2, please see the v7 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 -D @nuxtjs/i18n@next
  1. Add @nuxtjs/i18n to the modules section of nuxt.config.ts
{
  modules: [
    '@nuxtjs/i18n',
  ],
}

Edge Release Channel

We provide the Edge Release Channel nuxt i18n module, like Nuxt3

Nuxt i18n module is undergoing commits, improvements and bug fixes. You can opt-in to be the first to test it before the next release.

Opting Into the Edge Channel

Update nuxt i18n module dependency inside package.json:

{
  "devDependencies": {
--    "@nuxtjs/i18n": "^8.0.0-rc.1"
++    "@nuxtjs/i18n": "npm:@nuxtjs/i18n-edge"
  }
}

Remove lockfile (package-lock.json, yarn.lock, or pnpm-lock.yaml) and reinstall dependencies.

Opting Out From the Edge Channel

Update nuxt i18n module dependency inside package.json:

{
  "devDependencies": {
--    "@nuxtjs/i18n": "npm:@nuxtjs/i18n-edge"
++    "@nuxtjs/i18n": "^8.0.0-rc.1"
  }
}

📖 Documentation

Read more v8 documentation.

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

©️ License

MIT License - Copyright (c) Nuxt Community

FAQs

Last updated on 25 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc