https://github.com/nuxt-modules/i18n
I18n module for Nuxt
https://github.com/nuxt-modules/i18n
i18n internationalization javascript nuxt nuxt-module routing typescript vue
Last synced: 10 days ago
JSON representation
I18n module for Nuxt
- Host: GitHub
- URL: https://github.com/nuxt-modules/i18n
- Owner: nuxt-modules
- License: mit
- Created: 2017-11-12T20:42:35.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2025-12-31T18:00:45.000Z (21 days ago)
- Last Synced: 2026-01-05T03:51:12.672Z (17 days ago)
- Topics: i18n, internationalization, javascript, nuxt, nuxt-module, routing, typescript, vue
- Language: TypeScript
- Homepage: https://i18n.nuxtjs.org
- Size: 23.3 MB
- Stars: 2,014
- Watchers: 23
- Forks: 517
- Open Issues: 146
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
[](https://i18n.nuxtjs.org)
[](https://npmjs.com/package/%40nuxtjs%2Fi18n)
[](https://npmjs.com/package/%40nuxtjs%2Fi18n)
[](https://snyk.io/test/github/nuxt-modules/i18n)

# Nuxt I18n
Internationalization (i18n) for Nuxt apps.
[đ Read documentation](https://i18n.nuxtjs.org/)
## 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
```sh
npx nuxi@latest module add i18n
```
2. Configure the module using the `i18n` key in `nuxt.config.ts`
```ts
{
modules: [
'@nuxtjs/i18n',
],
i18n: {
locales: [
{ code: 'en', language: 'en-US' },
{ code: 'fr', language: 'fr-FR' }
],
defaultLocale: 'en',
}
}
```
## Sponsors
## đ Links
- đ [Release notes](./CHANGELOG.md)
- đĨ [Community](https://discord.nuxtjs.org/) (`đ¨ī¸â help` support forum)
- đ Documentation
- [Version 10.x](https://next.i18n.nuxtjs.org/)
- [Version 9.x](https://v9.i18n.nuxtjs.org/)
- [Version 8.x](https://v9.i18n.nuxtjs.org/docs/v8)
- [Version 7.x (Nuxt 2 - EOL)](https://v9.i18n.nuxtjs.org/docs/v7)
## ÂŠī¸ License
[MIT License](./LICENSE) - Copyright (c) Nuxt Community