@ohos-ports/nuxtjs-i18n

Internationalization for Nuxt
6
Install
npm install @ohos-ports/nuxtjs-i18n
Latest Version:10.6.0-beta.0
Vue:3
License:MIT
Last Updated:Oct 23, 2026
Links: GitHub  ·  npm
Maintainer: social4hyq

Nuxt i18n

Nuxt I18n

Internationalization (i18n) for Nuxt apps.

📖 Read documentation

Features

  • Integration with vue-i18n
  • Route localization (static & dynamic)
  • Lazy load translations
  • SEO tag localization
  • Layer support

🚀 Usage

Install

  1. Install the @nuxtjs/i18n module to your project
npx nuxi@latest module add i18n
  1. Configure the module using the i18n key in nuxt.config.ts
{
  modules: [
    '@nuxtjs/i18n',
  ],
  i18n: {
    locales: [
      { code: 'en', language: 'en-US' },
      { code: 'fr', language: 'fr-FR' }
    ],
    defaultLocale: 'en',
  }
}

Sponsors

©️ License

MIT License - Copyright (c) Nuxt Community

Related Packages

@nuxtjs/i18n

Internationalization for Nuxt

23,877,608 2,085
@nuxtjs/i18n-edge

Internationalization for Nuxt

121,288 2,085
nuxt-translation-manager

Simple and easy to use translation manager for nuxt and nuxt-i18n that allows to...

16,873 19
@i18n-micro/route-strategy

Locale-aware route generator for Nuxt i18n micro

117,046 251

Version History

Pre-releases (1)
Version Released Vue License
10.6.0-beta.0 ^3.0 MIT