This is the repository for Vue I18n 9 for Vue 3
Internationalization plugin for Vue.js
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:
- Documentation
- If you use Vue I18n v8 for Vue 2, see this repository
- Via CDN:
<script src="https://unpkg.com/vue-i18n@9"></script>
- In-browser playground on CodeSandbox
- Add it to an existing Vue Project:
npm install vue-i18n@9
Please consult the Migration Guide.
- v7 and v8: we will follow Vue v2 maintenance lifespan
See the 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
Package | NPM |
---|---|
vue-i18n | |
vue-i18n-bridge | |
@intlify/core | |
@intlify/core-base | |
@intlify/message-compiler | |
@intlify/shared |
Project | NPM | Repo |
---|---|---|
Vue I18n Extensions | intlify/vue-i18n-extentions | |
ESLint Plugin | intlify/eslint-plugin-vue-i18n | |
CLI | intlify/cli | |
Unplugin (Vite) plugin | intlify/unplugin-vue-i18n | |
Vue Jest Plugin | intlify/vue-i18n-jest | |
Vue I18n Locale Message Tools | intlify/vue-i18n-locale-message |
Please make sure to read the Contributing Guide before making a pull request.