# react-i18next [](https://twitter.com/intent/tweet?text=Awesome%20react-i18next%20for%20react.js%20based%20on%20i18next%20internationalization%20ecosystem%20&url=https://github.com/i18next/react-i18next&via=jamuhl&hashtags=i18n,reactjs,js,dev) [](https://circleci.com/gh/i18next/react-i18next) [](https://codeclimate.com/github/i18next/react-i18next) [](https://coveralls.io/github/i18next/react-i18next) [![Quality][quality-badge] ][quality-url] [![dependencies][dependencies-image] ][dependencies-url] [![devdependencies][devdependencies-image] ][devdependencies-url] [npm-icon]: https://nodei.co/npm/react-i18next.png?downloads=true [npm-url]: https://npmjs.org/package/react-i18next [dependencies-image]: https://david-dm.org/i18next/react-i18next.png [dependencies-url]: https://david-dm.org/i18next/react-i18next [devdependencies-image]: https://david-dm.org/i18next/react-i18next/dev-status.png [devdependencies-url]: https://david-dm.org/i18next/react-i18next#info=devDependencies [quality-badge]: http://npm.packagequality.com/shield/react-i18next.svg [quality-url]: http://packagequality.com/#?package=react-i18next ### IMPORTANT: Master Branch is the new v10 using hooks. ```bash $ v10.0.0 npm i react-i18next ``` **react-native: not yet supports hooks (hooks are part of react-native v0.59.0)!!!** For the legacy version please use the [v9.x.x Branch](https://github.com/i18next/react-i18next/tree/v9.x.x) ```bash $ v9.0.10 (legacy) npm i react-i18next@legacy ``` ### Documentation The documentation is published on [react.i18next.com](https://react.i18next.com) ### What will my code look like? **Before:** Your react code would have looked something like: ```jsx ...
### Localization workflow
Want to learn more about how seamless your internationalization and translation process can be?
[](https://www.youtube.com/watch?v=9NOzJhgmyQE)
[watch the video](https://www.youtube.com/watch?v=9NOzJhgmyQE)
### Installation
Source can be loaded via [npm](https://www.npmjs.com/package/react-i18next) or [downloaded](https://github.com/i18next/react-i18next/blob/master/react-i18next.min.js) from this repo.
```
# npm package
$ npm install react-i18next
```
- If you don't use a module loader it will be added to `window.reactI18next`
### Examples
- [Example react](https://github.com/i18next/react-i18next/tree/master/example/react)
#### v9 samples
- [Example react](https://github.com/i18next/react-i18next/tree/master/example/v9.x.x/react)
- [Example preact](https://github.com/i18next/react-i18next/tree/master/example/v9.x.x/preact)
- [Example react-native](https://github.com/i18next/react-i18next/tree/master/example/v9.x.x/reactnative-expo)
- [Example expo.io](https://github.com/i18next/react-i18next/tree/master/example/v9.x.x/reactnative-expo)
- [Example next.js](https://github.com/i18next/react-i18next/tree/master/example/v9.x.x/nextjs)
- [Example razzle](https://github.com/i18next/react-i18next/tree/master/example/v9.x.x/razzle-ssr)
- [Example hashbase / beaker browser](https://github.com/i18next/react-i18next/tree/master/example/v9.x.x/dat)
- [Example storybook](https://github.com/i18next/react-i18next/tree/master/example/v9.x.x/storybook)
- [Example locize.com](https://github.com/i18next/react-i18next/tree/master/example/v9.x.x/locize-example)
- [Example test with jest](https://github.com/i18next/react-i18next/tree/master/example/v9.x.x/test-jest)
### Requirements
- react >= **16.8.0**
- react-dom >= **16.8.0**
- react-native >= **0.59.0**
- i18next >= **10.0.0** (typescript users: >=17.0.9)
#### v9
- react >= **0.14.0** (in case of < v16 or preact you will need to define parent in [Trans component](https://react.i18next.com/legacy-v9/trans-component#trans-props) or globally in [i18next.react options](https://react.i18next.com/legacy-v9/trans-component#additional-options-on-i-18-next-init))
- i18next >= **2.0.0**
## Core Contributors
Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):
| [