@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
Internationalization (i18n) for Nuxt apps.
Features
- Integration with
vue-i18n - Route localization (static & dynamic)
- Lazy load translations
- SEO tag localization
- Layer support
🚀 Usage
Install
- Install the
@nuxtjs/i18nmodule to your project
npx nuxi@latest module add i18n
- Configure the module using the
i18nkey innuxt.config.ts
{
modules: [
'@nuxtjs/i18n',
],
i18n: {
locales: [
{ code: 'en', language: 'en-US' },
{ code: 'fr', language: 'fr-FR' }
],
defaultLocale: 'en',
}
}
Sponsors
🔗 Links
- 🔖 Release notes
- 👥 Community (
🗨️❓ helpsupport forum) - 📖 Documentation
©️ License
MIT License - Copyright (c) Nuxt Community
Related Packages
nuxt-translation-manager
Simple and easy to use translation manager for nuxt and nuxt-i18n that allows to...
16,873
19
Version History
Pre-releases (1)
| Version | Released | Vue | License |
|---|---|---|---|
| 10.6.0-beta.0 | ^3.0 | MIT |
