ランキングに戻る
I18n module for Nuxt
nuxti18nroutingvuejavascriptnuxt-moduleinternationalizationtypescript
主要指標
スター成長
スター
2.1k
フォーク
529
週間成長
—
Issue
103
1k2k
2023年1月2023年8月2024年3月2024年10月2025年5月2025年12月2026年7月
成果物npm
npm install i18nREADME
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
関連リポジトリ
