React internationalization libraries

Updated Nov 2026

React i18n libraries translate an app's interface text and format dates, numbers, and plurals for each locale. A library loads message catalogs for each language and renders translated strings through hooks or components. These libraries let apps serve the same interface in each user's language.

Popularity

react-i18next has the most monthly downloads in this comparison, at 99.3M.

LibraryMonthly downloadsStarsLast releaseLicense
react-i18next
99.3M
10.1KNov 2026MIT
next-intl
37.7M
4.4KNov 2026MIT
React Intl
17.1M
14.8KNov 2026BSD-3-Clause
@lingui/react
7.6M
5.9KNov 2026MIT
next-i18next
2.8M
6.2KNov 2026MIT
react-localization
529.0K
370Oct 2026MIT
@tolgee/react
505.3K
261Oct 2026MIT
next-translate
413.6K
2.7KJun 2026MIT
Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

Libraries and code examples

react-i18next

Connects React components to the i18next translation engine, with hooks and translated component trees.

Downloads / mo
99.3M
Stars
10.1K
Last release
18.0.2
License
MIT

Strengths

  • Reuses an existing i18next setup. Connect React components to the i18next translation engine.
  • Loads translations through a hook. useTranslation supplies translation functions and namespace loading state.

Limitations

  • ICU syntax needs extra packages. Install i18next-icu and intl-messageformat for ICU messages.
  • Translation loading suspends rendering. Provide a Suspense boundary or handle the ready state yourself.

Quickstart

From getting-started.md
$ npm install react react-dom i18next react-i18next
import React from 'react';
import i18n from 'i18next';
import {initReactI18next, useTranslation} from 'react-i18next';
i18n.use(initReactI18next).init({lng: 'en', resources: {en: {translation: {hello: 'Hello'}}}, interpolation: {escapeValue: false}});
export default function App() {
  const {t} = useTranslation();
  return <h1>{t('hello')}</h1>;
}

react-i18next examples

From open-source projects on GitHub
export default function useLocalize() {
  const { t } = useTranslation();

  return useCallback(
    (phraseKey: TranslationKeys, options?: TOptions) => t(phraseKey, options),
    [t],
  );
}

Provides ICU translations and locale formatting for Next.js server and client components.

Downloads / mo
37.7M
Stars
4.4K
Last release
4.15.1
License
MIT

Strengths

  • Shares server and client APIs. Use translations in shared components or await server-specific APIs.
  • Embeds components inside translated sentences. Map rich-text tags to React components with t.rich.

Limitations

  • Async components need awaitable APIs. Call getTranslations inside async Server Components instead of translation hooks.
  • Inline extraction remains experimental. Enable the experimental extraction option explicitly in the Next.js plugin.

Quickstart

From README.md
$ npm install next react react-dom next-intl
'use client';
import React from 'react';
import {NextIntlClientProvider, useTranslations} from 'next-intl';
function Greeting() {
  const t = useTranslations('HomePage');
  return <h1>{t('title')}</h1>;
}
export default function App() {
  return <NextIntlClientProvider locale="en" messages={{HomePage: {title: 'Hello'}}}><Greeting /></NextIntlClientProvider>;
}

next-intl examples

From open-source projects on GitHub

React Intl

Provides React components and formatting APIs for ICU messages, dates, numbers, and relative time.

Downloads / mo
17.1M
Stars
14.8K
Last release
12.2.0
License
BSD-3-Clause

Strengths

  • Formats ICU messages and plurals. Use message arguments, plural rules, and rich-text tags in translated messages.
  • Formats dates and relative time. Use the Intl-backed React formatters for locale-aware display.

Limitations

  • Older runtimes need Intl polyfills. Load missing Intl APIs and locale data for older environments.
  • Generated IDs must stay consistent. Use the same ID pattern for extraction and compilation.

Quickstart

From Messages.tsx
$ npm install react react-dom react-intl
import React from 'react';
import {IntlProvider, FormattedMessage} from 'react-intl';
export default function App() {
  return <IntlProvider locale="en" messages={{hello: 'Hello, {name}!'}}><FormattedMessage id="hello" values={{name: 'World'}} /></IntlProvider>;
}

Connects React to Lingui catalogs, with runtime translated components and compile-time message macros.

Downloads / mo
7.6M
Stars
5.9K
Last release
6.12.0
License
MIT

Strengths

  • Writes translated content as JSX. Macros turn JSX and message objects into ICU messages during compilation.
  • Supports React Server Components. Use Lingui translations in client and server-rendered components.

Limitations

  • Catalogs need compilation before loading. Compile translator catalogs into runtime message modules before loading them.
  • Server locales need per-route setup. Initialize the locale in every server-rendered page and layout.

Quickstart

From README.md
$ npm install react react-dom @lingui/core @lingui/react
import React from 'react';
import {setupI18n} from '@lingui/core';
import {I18nProvider, Trans} from '@lingui/react';
const i18n = setupI18n({locale: 'en', messages: {hello: 'Hello'}});
export default function App() {
  return <I18nProvider i18n={i18n}><Trans id="hello" /></I18nProvider>;
}

@lingui/react examples

From open-source projects on GitHub

Translates Next.js apps.

Downloads / mo
2.8M
Stars
6.2K
Last release
16.4.11
License
MIT

Quickstart

From README.md
$ npm install next react react-dom next-i18next i18next react-i18next
import {createServerI18next} from 'next-i18next/server';
const {getT} = createServerI18next({supportedLngs: ['en'], fallbackLng: 'en', defaultNS: 'common', resources: {en: {common: {hello: 'Hello'}}}});
export default async function Page() {
  const {t} = await getT('common', {lng: 'en'});
  return <h1>{t('hello')}</h1>;
}

next-i18next examples

From open-source projects on GitHub

react-localization

Localizes the React interface with the same syntax as the ReactNativeLocalization module.

Downloads / mo
529.0K
Stars
370
Last release
2.1.0
License
MIT

Quickstart

From README.md
$ npm install react@^19 react-dom@^19 react-localization
import LocalizedStrings from 'react-localization';
const strings = new LocalizedStrings({en: {hello: 'Hello'}, it: {hello: 'Ciao'}});
console.log(strings.hello);

react-localization examples

From open-source projects on GitHub

@tolgee/react

React implementation for Tolgee localization framework

Downloads / mo
505.3K
Stars
261
Last release
7.3.0
License
MIT

Quickstart

From README.md
$ npm install react react-dom @tolgee/react
import React from 'react';
import {Tolgee, TolgeeProvider, FormatSimple, T} from '@tolgee/react';
const tolgee = Tolgee().use(FormatSimple()).init({language: 'en', staticData: {en: {hello: 'Hello'}}});
export default function App() {
  return <TolgeeProvider tolgee={tolgee} fallback="Loading..."><T keyName="hello" /></TolgeeProvider>;
}

next-translate

Provides an i18n Next.js plugin and API for translating Next.js pages.

Downloads / mo
413.6K
Stars
2.7K
Last release
3.2.0
License
MIT

Quickstart

From README.md
$ npm install next react react-dom next-translate
'use client';
import React from 'react';
import I18nProvider from 'next-translate/I18nProvider';
import useTranslation from 'next-translate/useTranslation';
function Greeting() {
  const {t} = useTranslation();
  return <h1>{t('common:hello')}</h1>;
}
export default function Page() {
  return <I18nProvider lang="en" namespaces={{common: {hello: 'Hello'}}}><Greeting /></I18nProvider>;
}

next-translate examples

From open-source projects on GitHub

FAQ

react-i18next suits apps that already use the i18next translation engine. next-intl suits Next.js apps with server and client components. React Intl suits ICU messages with locale-aware date and number formatting.

@lingui/react connects React to Lingui catalogs, with runtime translated components and compile-time message macros. Its catalogs need compilation before loading.

react-i18next connects React components to the i18next translation engine. Its useTranslation hook supplies translation functions and namespace loading state.

React Intl provides React components and formatting APIs for ICU messages, dates, numbers, and relative time.

Async Server Components call getTranslations instead of translation hooks. next-intl shares its translation APIs across server and client components.

For coding agents

Found your internationalization library? Help your agent use it.

Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.

Run in your terminal

claude plugin install exa@claude-plugins-official