OSS Tanbou

i18next โ€” compose plurals, interpolation, language detection, and translation resources independently of the UI framework

OSS health 93
About these scores

Discovery score is an unbounded weighted, log-compressed index of stars, watchers, forks, and contributors. Growth momentum is its change over the observed period; OSS health is a 0โ€“100 score from available repository recency, Community Health, and release data.

Stars
8,634
Primary language
JavaScript
License
MIT
Repository last updated
Sep 3, 2026

Overview

i18next is a JavaScript internationalization framework for browsers, Node.js, and Deno. Its core translation model handles plurals, context, nesting, and interpolation, while resource loading, caching, language detection, and post-processing can be added through plugins. React, Vue, Next.js, and other environments connect through bindings, making i18next useful when a product needs one translation model across multiple application stacks.

Features and best fit

Based on official documentation; not hands-on tested ยท Content checked:

Centralize plurals, context, nesting, and interpolation instead of treating localization as string replacement

The README lists pluralization, context, nesting, and variable replacement among i18next's core capabilities. Plural handling follows the JavaScript Intl.PluralRules model and can represent language-specific forms beyond one/other, including zero, two, few, and many. Dynamic values can be interpolated with {{value}}, keeping message structure in translation resources while application code supplies data.

Sources: [2][5][4]

Keep storage and language detection out of the core by choosing backends, detectors, caches, and post-processors

i18next separates translation-resource loading into backend plugins, with implementations for HTTP, filesystems, local storage, and other sources. Language detectors, caches, and post-processors are also separate components. Browser and server applications can therefore use different loading or detection strategies while sharing the same translation API centered on t().

Sources: [2][7]

Use the same core with React, Vue, Next.js, Svelte, Node, and Deno by changing the integration layer

The official documentation points to react-i18next for React and React Native, i18next-vue for Vue, next-i18next for Next.js, Node/Deno HTTP middleware, and many other integrations. The core runs in browsers, Node, and Deno. The package ships ESM and CommonJS entry points plus TypeScript declarations, and lists TypeScript 5, 6, and 7 as optional peer-dependency ranges.

Sources: [6][3]

A strong fit when several runtimes or UI stacks need a shared model for keys and locale resources

i18next fits applications that want to share translation resources between a web frontend and Node.js services, teams that may change UI frameworks without rebuilding the i18n core, and products that need language-aware plural and context handling instead of per-screen custom logic. It can start with small JSON resources and grow into dynamically loaded backends as the product expands.

Evaluate framework bindings and plugins separately from the i18next core

The Supported Frameworks page explicitly says the integration list is not maintained as one official set and that information is contributed by the individual library maintainers. Some integrations may become outdated or deprecated. Adoption therefore requires checking the binding's supported framework versions, SSR or SSG behavior, routing, and resource-loading model rather than judging compatibility from the i18next core alone.

Sources: [6]

Disabling interpolation escaping moves XSS responsibility to the application; Locize is optional

i18next escapes interpolation values by default to mitigate XSS. Applications can disable that behavior with escapeValue: false or unescaped interpolation syntax, but the official documentation warns that user input must then be escaped by the application and strongly recommends keeping skipOnVariables enabled for externally supplied values.

The README promotes Locize, a translation-management service from the i18next creators, but also explicitly states that i18next works fully without it. Treat the open-source core, framework bindings, translation-resource operations, and SaaS translation management as separate architectural choices.

Sources: [4][2][8]

Official sources

  1. [1]i18next/i18next โ€” GitHub repository metadata(2026-09-15)
  2. [2]i18next/i18next โ€” README(2026-09-15)
  3. [3]i18next/i18next โ€” package.json(2026-09-15)
  4. [4]i18next Docs โ€” Interpolation(2026-09-15)
  5. [5]i18next Docs โ€” Plurals(2026-09-15)
  6. [6]i18next Docs โ€” Supported Frameworks(2026-09-15)
  7. [7]i18next Docs โ€” Plugins and Utils(2026-09-15)
  8. [8]i18next/i18next โ€” LICENSE(2026-09-15)
Supplemental curator note

We selected i18next as more than string replacement: it separates language-aware plural rules, resource loading, and framework bindings into composable layers. Adoption should verify binding and plugin maintenance and treat disabled interpolation escaping as an explicit trust boundary. Locize is optional; the i18next core works without it.

Try it in 3 steps

  1. 1

    Get the source

    git clone --depth 1 https://github.com/i18next/i18next.git
  2. 2

    Enter the repository

    cd i18next
  3. 3

    Check the official steps

    Continue with the commands in the README Installation, Quick Start, or Getting Started section.

    find . -maxdepth 1 -iname 'README*' -exec sed -n '1,220p' {} \; -quit
Check the official README

Growth

Growth trends ยท Last 30 days

8,634 Stars

Trend data is still being collected.

Development activity

Last 90 days ยท weekly

Commits (last 30 days)
14
Open PRs
0

Development activity is still being collected.

Built with

Categories and tags

Categories

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • translation
  • ecosystem
  • flexibility
  • internationalization
  • i18n
  • nodejs
  • deno
  • javascript
Stars
8,634
Forks
694
Watchers
83
Open issues
2
Primary language
JavaScript
License
MIT
Repository last updated
Sep 3, 2026
Report incorrect information

Tell us if any listing information is incorrect or outdated.

i18next โ€” JavaScript Internationalization, Plurals, and Resource Loading | OSS Tanbou