All Projects → i18next → React I18next

i18next / React I18next

Licence: mit
Internationalization for react done right. Using the i18next i18n ecosystem.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
HTML
75241 projects
objective c
16641 projects - #2 most used programming language
CSS
56736 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to React I18next

awrora-starter
Landing page template built with one of most popular javascript library Vue.JS, Vuetify (Material Design) and Nuxt.JS with SSR.
Stars: ✭ 38 (-99.45%)
Mutual labels:  i18n, translation, ssr
React Localize Redux
Dead simple localization for your React components
Stars: ✭ 384 (-94.47%)
Mutual labels:  translation, i18n, internationalization
rosetta
A blazing fast internationalization (i18n) library for Crystal with compile-time key lookup.
Stars: ✭ 23 (-99.67%)
Mutual labels:  i18n, translation, internationalization
Easy localization
Easy and Fast internationalizing your Flutter Apps
Stars: ✭ 407 (-94.14%)
Mutual labels:  translation, i18n, internationalization
Fluent.js
JavaScript implementation of Project Fluent
Stars: ✭ 622 (-91.04%)
Mutual labels:  translation, i18n, internationalization
inlang
Open Source Localization Solution for Software.
Stars: ✭ 160 (-97.7%)
Mutual labels:  i18n, translation, internationalization
labels
Bolt Labels extension - Translatable labels for Bolt
Stars: ✭ 18 (-99.74%)
Mutual labels:  i18n, translation, internationalization
django-i18nfield
Store internationalized strings in Django models with full forms support
Stars: ✭ 32 (-99.54%)
Mutual labels:  i18n, translation, internationalization
Gettext
PHP library to collect and manipulate gettext (.po, .mo, .php, .json, etc)
Stars: ✭ 578 (-91.67%)
Mutual labels:  translation, i18n, internationalization
Eo Locale
🌏Internationalize js apps 👔Elegant lightweight library based on Internationalization API
Stars: ✭ 290 (-95.82%)
Mutual labels:  translation, i18n, internationalization
pydantic-i18n
pydantic-i18n is an extension to support an i18n for the pydantic error messages.
Stars: ✭ 32 (-99.54%)
Mutual labels:  i18n, translation, internationalization
Gotext
Go (Golang) GNU gettext utilities package
Stars: ✭ 292 (-95.79%)
Mutual labels:  translation, i18n, internationalization
i18n
internationalize projects to Arabic
Stars: ✭ 67 (-99.03%)
Mutual labels:  i18n, translation, internationalization
I18next
i18next: learn once - translate everywhere
Stars: ✭ 5,971 (-13.99%)
Mutual labels:  translation, i18n, internationalization
i18n.cr
Internationalization API ( i18n ) for Crystal!
Stars: ✭ 36 (-99.48%)
Mutual labels:  i18n, translation, internationalization
plate
Internationalization library for Python
Stars: ✭ 31 (-99.55%)
Mutual labels:  i18n, translation, internationalization
mobx-react-intl
A connector between mobx-react and react-intl
Stars: ✭ 32 (-99.54%)
Mutual labels:  i18n, translation, internationalization
fluent-vue
Internationalization plugin for Vue.js
Stars: ✭ 137 (-98.03%)
Mutual labels:  i18n, translation, internationalization
Mojito
An automation platform that enables continuous localization.
Stars: ✭ 256 (-96.31%)
Mutual labels:  translation, i18n, internationalization
Js Lingui
🌍📖 A readable, automated, and optimized (5 kb) internationalization for JavaScript
Stars: ✭ 3,249 (-53.2%)
Mutual labels:  translation, i18n, internationalization

react-i18next Tweet

CircleCI Code Climate Coverage Status Quality dependencies devdependencies

IMPORTANT:

Master Branch is the newest version using hooks (>= v10).

$ >=v10.0.0
npm i react-i18next

react-native: To use hooks within react-native, you must use react-native v0.59.0 or higher

For the legacy version please use the v9.x.x Branch

$ v9.0.10 (legacy)
npm i react-i18next@legacy

Documentation

The documentation is published on react.i18next.com The general i18next documentation is published on www.i18next.com

What will my code look like?

Before: Your react code would have looked something like:

...
<div>Just simple content</div>
<div>
  Hello <strong title="this is your name">{name}</strong>, you have {count} unread message(s). <Link to="/msgs">Go to messages</Link>.
</div>
...

After: With the trans component just change it to:

...
<div>{t('simpleContent')}</div>
<Trans i18nKey="userMessagesUnread" count={count}>
  Hello <strong title={t('nameTitle')}>{{name}}</strong>, you have {{count}} unread message. <Link to="/msgs">Go to messages</Link>.
</Trans>
...

Head over to the interactive playground at codesandbox.

📖 What others say

Why i18next?

  • Simplicity: no need to change your webpack configuration or add additional babel transpilers, just use create-react-app and go.
  • Production ready we know there are more needs for production than just doing i18n on the clientside, so we offer wider support on serverside too (nodejs, php, ruby, .net, ...). Learn once - translate everywhere.
  • Beyond i18n comes with locize bridging the gap between developement and translations - covering the whole translation process.

ecosystem

Localization workflow

Want to learn more about how seamless your internationalization and translation process can be?

video

watch the video

Installation

Source can be loaded via npm or downloaded from this repo.

# npm package
$ npm install react-i18next
  • If you don't use a module loader it will be added to window.reactI18next

Do you like to read a more complete step by step tutorial?

Here you'll find a simple tutorial on how to best use react-i18next. Some basics of i18next and some cool possibilities on how to optimize your localization workflow.

Examples

v9 samples

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

Core Contributors

Thanks goes to these wonderful people (emoji key):


Jan Mühlemann

💻 💡 📖 💬

Adriano Raiano

💻 💡 📖 💬

Tiger Abrodi

💬 💻 👀

Pedro Durek

💻 💡

This project follows the all-contributors specification. Contributions of any kind are welcome!


Gold Sponsors


localization as a service - locize.com

Needing a translation management? Want to edit your translations with an InContext Editor? Use the original provided to you by the maintainers of i18next!

locize

With using locize you directly support the future of i18next and react-i18next.


Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].