Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/panter/vue-i18next
Internationalization for vue using the i18next i18n ecosystem.
https://github.com/panter/vue-i18next
i18n i18next javascript plugin typescript vue
Last synced: about 2 months ago
JSON representation
Internationalization for vue using the i18next i18n ecosystem.
- Host: GitHub
- URL: https://github.com/panter/vue-i18next
- Owner: panter
- Archived: true
- Created: 2017-04-24T08:52:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-05-19T07:59:54.000Z (over 2 years ago)
- Last Synced: 2024-07-20T09:47:15.985Z (2 months ago)
- Topics: i18n, i18next, javascript, plugin, typescript, vue
- Language: JavaScript
- Homepage: https://panter.github.io/vue-i18next/
- Size: 3.13 MB
- Stars: 177
- Watchers: 15
- Forks: 47
- Open Issues: 99
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
DEPRECATED, please use https://github.com/i18next/i18next-vue ! Thanks for your support!
# vue-i18next
[![Build Status](https://travis-ci.org/panter/vue-i18next.svg?branch=master)](https://travis-ci.org/panter/vue-i18next)
[![Coverage Status](https://coveralls.io/repos/github/panter/vue-i18next/badge.svg?branch=master)](https://coveralls.io/github/panter/vue-i18next?branch=master) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)> Internationalization for vue using the i18next i18n ecosystem.
# Introduction
18next goes beyond just providing the standard i18n features such as (plurals, context, interpolation, format). It provides you with a complete solution to localize your product from web to mobile and desktop.
**vue-i18next** is the vue support for i18next and provides:
- Component based localization
- Component interpolation
- Lazy load namespaces
- Namespaced translation for components### Requirements
- vue >= **2.0.0**
- i18next >= **6.0.1**## Documentation
See [here](http://panter.github.io/vue-i18next/)
## Init
```javascript
import Vue from 'vue';
import i18next from 'i18next';
import VueI18Next from '@panter/vue-i18next';Vue.use(VueI18Next);
i18next.init({
lng: 'de',
resources: {
...
}
});const i18n = new VueI18Next(i18next);
new Vue({
...
i18n: i18n,
});
```## Changelog
Detailed changes for each release are documented in the [releases](https://github.com/panter/vue-i18next/releases).
## Issues
Please make sure to read the [Issue Reporting Checklist](https://github.com/panter/vue-i18next/blob/master/CONTRIBUTING.md##using-the-issue-tracker) before opening an issue. Issues not conforming to the guidelines may be closed immediately.
## Contribution
Please make sure to read the [Contributing Guide](https://github.com/panter/vue-i18next/blob/master/CONTRIBUTING.md) before making a pull request.
## License
[MIT](http://opensource.org/licenses/MIT)