{"id":26092821,"url":"https://github.com/nuxt-community/i18n-module","last_synced_at":"2025-03-09T11:01:55.750Z","repository":{"id":37004275,"uuid":"110467581","full_name":"nuxt-modules/i18n","owner":"nuxt-modules","description":"I18n module for Nuxt","archived":false,"fork":false,"pushed_at":"2024-10-28T15:48:39.000Z","size":22244,"stargazers_count":1728,"open_issues_count":158,"forks_count":479,"subscribers_count":29,"default_branch":"main","last_synced_at":"2024-10-29T09:26:50.311Z","etag":null,"topics":["i18n","javascript","nuxt","nuxt-module","routing","vue"],"latest_commit_sha":null,"homepage":"https://i18n.nuxtjs.org","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nuxt-modules.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["BobbieGoede","kazupon"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2017-11-12T20:42:35.000Z","updated_at":"2024-10-28T13:22:58.000Z","dependencies_parsed_at":"2023-12-30T14:29:45.271Z","dependency_job_id":"fe25931d-9573-4286-ab28-228c837a7e3b","html_url":"https://github.com/nuxt-modules/i18n","commit_stats":{"total_commits":841,"total_committers":83,"mean_commits":"10.132530120481928","dds":0.5612366230677764,"last_synced_commit":"cff8ccd2ac687e82013ce0bb97d202d89e8725e9"},"previous_names":["nuxt-community/i18n-module","nuxt-community/nuxt-i18n"],"tags_count":243,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt-modules%2Fi18n","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt-modules%2Fi18n/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt-modules%2Fi18n/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt-modules%2Fi18n/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuxt-modules","download_url":"https://codeload.github.com/nuxt-modules/i18n/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242679494,"owners_count":20168159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["i18n","javascript","nuxt","nuxt-module","routing","vue"],"created_at":"2025-03-09T11:01:34.874Z","updated_at":"2025-03-09T11:01:55.710Z","avatar_url":"https://github.com/nuxt-modules.png","language":"TypeScript","funding_links":["https://github.com/sponsors/BobbieGoede","https://github.com/sponsors/kazupon"],"categories":["JavaScript"],"sub_categories":[],"readme":"[![Nuxt i18n](./docs/public/cover.png)](https://i18n.nuxtjs.org)\n\n[![](https://img.shields.io/npm/v/%40nuxtjs%2Fi18n/latest.svg?style=flat-square)](https://npmjs.com/package/%40nuxtjs%2Fi18n)\n[![](https://img.shields.io/npm/v/%40nuxtjs%2Fi18n-edge/latest.svg?style=flat-square)](https://npmjs.com/package/%40nuxtjs%2Fi18n-edge)\n[![](https://img.shields.io/npm/dt/%40nuxtjs%2Fi18n.svg?style=flat-square)](https://npmjs.com/package/%40nuxtjs%2Fi18n)\n[![](https://snyk.io/test/github/nuxt-community/i18n-module/badge.svg?style=flat-square)](https://snyk.io/test/github/nuxt-modules/i18n)\n\u003ca href=\"https://volta.net/nuxt-modules/i18n?utm_source=nuxt_i18n_readme\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/904724/209143798-32345f6c-3cf8-4e06-9659-f4ace4a6acde.svg\" alt=\"Volta board\"\u003e\u003c/a\u003e\n\n# Nuxt I18n\n\nInternationalization (i18n) for Nuxt apps.\n\n[📖 Read documentation](https://i18n.nuxtjs.org/)\n\n## Features\n\n- Integration with `vue-i18n`\n- Route localization (static \u0026 dynamic)\n- Lazy load translations\n- SEO tag localization\n- Layer support\n\n## 🚀 Usage\n\n### Install\n\n1. Install the `@nuxtjs/i18n` module to your project\n\n```sh\nnpx nuxi@latest module add i18n\n```\n\n2. Configure the module using the `i18n` key in `nuxt.config.ts`\n\n```ts\n{\n  modules: [\n    '@nuxtjs/i18n',\n  ],\n  i18n: {\n    locales: [\n      { code: 'en', language: 'en-US' },\n      { code: 'fr', language: 'fr-FR' }\n    ],\n    defaultLocale: 'en',\n  }\n}\n```\n\n## Edge Release Channel\n\nNuxt I18n lands commits, improvements and bug fixes every day, you can opt in to test these before their release using the edge release channel.\n\n### Opting In\n\nUpdate `@nuxtjs/i18n` dependency inside `package.json`:\n\n```diff\n{\n  \"devDependencies\": {\n--    \"@nuxtjs/i18n\": \"^8.0.0\"\n++    \"@nuxtjs/i18n\": \"npm:@nuxtjs/i18n-edge\"\n  }\n}\n```\n\nRemove lockfile (`package-lock.json`, `yarn.lock`, or `pnpm-lock.yaml`) and reinstall dependencies.\n\n### Opting Out\n\nUpdate `@nuxtjs/i18n` dependency inside `package.json`:\n\n```diff\n{\n  \"devDependencies\": {\n--    \"@nuxtjs/i18n\": \"npm:@nuxtjs/i18n-edge\"\n++    \"@nuxtjs/i18n\": \"^8.0.0\"\n  }\n}\n```\n\nRemove lockfile (`package-lock.json`, `yarn.lock`, or `pnpm-lock.yaml`) and reinstall dependencies.\n\n## Nuxt 2\n\nSince Nuxt 2 has reached [its end-of-life (EOL) date](https://v2.nuxt.com/lts/) we are not actively maintaining support for this version, the last version to support Nuxt 2 is `v7`.\n\nThe codebase for this version can be found on the [`v7` branch](https://github.com/nuxt-modules/i18n/tree/v7) and its documentation [here](https://i18n.nuxtjs.org/docs/v7).\n\n## 🔗 Links\n\n- 🔖 [Release notes](./CHANGELOG.md)\n- 👥 [Community](https://discord.nuxtjs.org/) (`🗨️❓ help` support forum)\n\n## ©️ License\n\n[MIT License](./LICENSE) - Copyright (c) Nuxt Community\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuxt-community%2Fi18n-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuxt-community%2Fi18n-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuxt-community%2Fi18n-module/lists"}