Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/intlify/vue-i18n

Vue I18n for Vue 3
https://github.com/intlify/vue-i18n

i18n internationalization library plugin vue vue3 vuejs

Last synced: 18 days ago
JSON representation

Vue I18n for Vue 3

Awesome Lists containing this project

README

        

# vue-i18n

> [!NOTE]
> This is the repository for Vue I18n 9 for Vue 3

Internationalization plugin for Vue.js

Supporting Vue I18n & Intlify Project

Vue I18n is part of the Vue Ecosystem and Intlify Project is an open source project with its ongoing development made possible entirely by the support of Sponsors. If you would like to become a sponsor, please consider:

- [Become a Sponsor on GitHub](https://github.com/sponsors/kazupon)

🏅 Platinum Sponsors









✨ Special Sponsors





đŸĨ‡ Gold Sponsors















đŸĨˆ Silver Sponsors

đŸĨ‰ Bronze Sponsors















Route Optimizer and Route Planner Software


## Status: [![CI](https://github.com/intlify/vue-i18n/actions/workflows/ci.yml/badge.svg)](https://github.com/intlify/vue-i18n/actions/workflows/ci.yml)
- v9: Stable
- v10: Beta
- [Documentation](https://vue-i18n.intlify.dev/)
- If you use Vue I18n v8 for Vue 2, see this [repository](https://github.com/kazupon/vue-i18n)

## Quickstart

- Via CDN: ``
- In-browser playground on [CodeSandbox](https://codesandbox.io/s/vue-i18n-9-template-h28c0)
- Add it to an existing Vue Project:
```bash
npm install vue-i18n@9
```

## Changes from Vue I18n v8

Please consult the [Migration Guide](https://vue-i18n.intlify.dev/guide/migration/breaking.html).

## 🙋‍♂ī¸ About support for v9 and earlier
- v7 and v8: we will follow Vue v2 maintenance lifespan

## 🍭 Examples

See the [`examples`](https://github.com/intlify/vue-i18n/tree/master/examples) directory.

The examples are offered in the following two API styles:

- composition
- Examples using the new Vue I18n API for Vue 3 Composition API
- legacy
- Examples using the Vue I18n API that are almost compatible with Vue I18n v8.x

## đŸ“Ļ Main Packages

| Package | NPM |
| ------- | --- |
| [vue-i18n](packages/vue-i18n) | [![vue-i18n](https://img.shields.io/npm/v/vue-i18n.svg)](https://www.npmjs.com/package/vue-i18n) |
| [petite-vue-i18n](packages/petite-vue-i18n) | [![petite-vue-i18n](https://img.shields.io/npm/v/petite-vue-i18n.svg)](https://www.npmjs.com/package/petite-vue-i18n) |
| [vue-i18n-bridge](packages/vue-i18n-bridge) | [![vue-i18n-bridge](https://img.shields.io/npm/v/vue-i18n-bridge.svg)](https://www.npmjs.com/package/vue-i18n-bridge) |
| [@intlify/core](packages/core) | [![@intlify/core](https://img.shields.io/npm/v/@intlify/core.svg)](https://www.npmjs.com/package/@intlify/core) |
| [@intlify/core-base](packages/core-base) | [![@intlify/core-base](https://img.shields.io/npm/v/@intlify/core-base.svg)](https://www.npmjs.com/package/@intlify/core-base) |
| [@intlify/message-compiler](packages/message-compiler) | [![@intlify/message-compiler](https://img.shields.io/npm/v/@intlify/message-compiler.svg)](https://www.npmjs.com/package/@intlify/message-compiler) |
| [@intlify/shared](packages/shared) | [![@intlify/shared](https://img.shields.io/npm/v/@intlify/shared.svg)](https://www.npmjs.com/package/@intlify/shared) |

## 🏃 Other Projects

| Project | NPM | Repo |
| ------- | --- | ---- |
| Vue I18n Extensions | [![@intlify/vue-i18n-extensions](https://img.shields.io/npm/v/@intlify/vue-i18n-extensions/next.svg)](https://www.npmjs.com/package/@intlify/vue-i18n-extensions) | [intlify/vue-i18n-extentions](https://github.com/intlify/vue-i18n-extensions)
| ESLint Plugin | [![@intlify/eslint-plugin-vue-i18n](https://img.shields.io/npm/v/@intlify/eslint-plugin-vue-i18n.svg)](https://www.npmjs.com/package/@intlify/eslint-plugin-vue-i18n) | [intlify/eslint-plugin-vue-i18n](https://github.com/intlify/eslint-plugin-vue-i18n)
| CLI | [![intlify/cli](https://img.shields.io/npm/v/@intlify/cli.svg)](https://www.npmjs.com/package/@intlify/cli) | [intlify/cli](https://github.com/intlify/cli)
| Unplugin (Vite) plugin | [![@intlify/unplugin-vue-i18n](https://img.shields.io/npm/v/@intlify/unplugin-vue-i18n.svg)](https://www.npmjs.com/package/@intlify/unplugin-vue-i18n) | [intlify/unplugin-vue-i18n](https://github.com/intlify/bundle-tools/tree/main/packages/unplugin-vue-i18n)
| Vue Jest Plugin | [![vue-i18n-jest](https://img.shields.io/npm/v/vue-i18n-jest.svg)](https://www.npmjs.com/package/vue-i18n-jest) | [intlify/vue-i18n-jest](https://github.com/intlify/vue-i18n-jest)
| Vue I18n Locale Message Tools | [![vue-i18n-locale-message](https://img.shields.io/npm/v/vue-i18n-locale-message.svg)](https://www.npmjs.com/package/vue-i18n-locale-message) | [intlify/vue-i18n-locale-message](https://github.com/intlify/vue-i18n-locale-message)

## đŸ’Ē Contribution

Please make sure to read the [Contributing Guide](https://github.com/intlify/vue-i18n/blob/master/.github/CONTRIBUTING.md) before making a pull request.

## Šī¸ License

[MIT](http://opensource.org/licenses/MIT)