Gathering detailed insights and metrics for react-i18next
Gathering detailed insights and metrics for react-i18next
Gathering detailed insights and metrics for react-i18next
Gathering detailed insights and metrics for react-i18next
Internationalization for react done right. Using the i18next i18n ecosystem.
npm install react-i18next
Typescript
Module System
Node Version
NPM Version
96.3
Supply Chain
98.5
Quality
91.5
Maintenance
100
Vulnerability
99.6
License
JavaScript (64.46%)
TypeScript (13.63%)
HTML (5.99%)
Ruby (3.37%)
Objective-C (2.65%)
Java (2.11%)
CSS (2.02%)
C++ (2.02%)
Kotlin (1.71%)
Swift (0.84%)
Starlark (0.65%)
C (0.3%)
Fluent (0.26%)
Total Downloads
575,456,887
Last Day
955,698
Last Week
4,311,971
Last Month
19,851,977
Last Year
199,460,770
MIT License
9,540 Stars
1,801 Commits
1,038 Forks
46 Watchers
5 Branches
188 Contributors
Updated on May 08, 2025
Minified
Minified + Gzipped
Latest Version
15.5.1
Package Id
react-i18next@15.5.1
Unpacked Size
322.76 kB
Size
57.62 kB
File Count
71
NPM Version
10.9.2
Node Version
22.14.0
Published on
Apr 23, 2025
Cumulative downloads
Total Downloads
Last Day
4.3%
955,698
Compared to previous day
Last Week
-10.2%
4,311,971
Compared to previous week
Last Month
2.1%
19,851,977
Compared to previous month
Last Year
36.9%
199,460,770
Compared to previous year
2
3
51
Master Branch is the newest version using hooks (>= v10).
1$ >=v10.0.0 2npm 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
1$ v9.0.10 (legacy) 2npm i react-i18next@legacy
The documentation is published on react.i18next.com and PR changes can be supplied here.
The general i18next documentation is published on www.i18next.com and PR changes can be supplied here.
Before: Your react code would have looked something like:
1... 2<div>Just simple content</div> 3<div> 4 Hello <strong title="this is your name">{name}</strong>, you have {count} unread message(s). <Link to="/msgs">Go to messages</Link>. 5</div> 6...
After: With the trans component just change it to:
1... 2<div>{t('simpleContent')}</div> 3<Trans i18nKey="userMessagesUnread" count={count}> 4 Hello <strong title={t('nameTitle')}>{{name}}</strong>, you have {{count}} unread message. <Link to="/msgs">Go to messages</Link>. 5</Trans> 6...
Want to learn more about how seamless your internationalization and translation process can be?
Source can be loaded via npm or downloaded from this repo.
# npm package
$ npm install react-i18next
window.reactI18next
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.
Thanks goes to these wonderful people (emoji key):
Jan Mühlemann 💻 💡 👀 📖 💬 | Adriano Raiano 💻 💡 👀 📖 💬 | Pedro Durek 💻 💡 👀 💬 | Tiger Abrodi 💻 👀 |
This project follows the all-contributors specification. Contributions of any kind are welcome!
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!
By using locize you directly support the future of i18next and react-i18next.
No vulnerabilities found.
Reason
16 commit(s) and 9 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
binaries present in source code
Details
Reason
Found 7/30 approved changesets -- score normalized to 2
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
126 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-05-05
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More