# React internationalization libraries

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

| Library | Monthly downloads | Stars | Last release | License |
| --- | --- | --- | --- | --- |
| [react-i18next](#react-i-next) | 99.3M | 10.1K | Nov 2026 | MIT |
| [next-intl](#next-intl) | 37.7M | 4.4K | Nov 2026 | MIT |
| [React Intl](#react-intl) | 17.1M | 14.8K | Nov 2026 | BSD-3-Clause |
| [@lingui/react](#lingui) | 7.6M | 5.9K | Nov 2026 | MIT |
| [next-i18next](#next-ioneeightnext) | 2.8M | 6.2K | Nov 2026 | MIT |
| [react-localization](#react-localization) | 529.0K | 370 | Oct 2026 | MIT |
| [@tolgee/react](#tolgee-react) | 505.3K | 261 | Oct 2026 | MIT |
| [next-translate](#next-translate) | 413.6K | 2.7K | Jun 2026 | MIT |

Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

[react-i18next](#react-i-next) has the most monthly downloads in this comparison, at 99.3M.

## Capabilities

| Library | ICU MessageFormat | Next.js-independent |
| --- | --- | --- |
| [react-i18next](#react-i-next) | Via plugin | Yes |
| [next-intl](#next-intl) | Yes | No |
| [React Intl](#react-intl) | Yes | Yes |
| [@lingui/react](#lingui) | Yes | Yes |
| [next-i18next](#next-ioneeightnext) | Via plugin | No |
| [react-localization](#react-localization) | No | Yes |
| [@tolgee/react](#tolgee-react) | Via plugin | Yes |
| [next-translate](#next-translate) | No | No |

## Libraries

### react-i18next

[GitHub](https://github.com/i18next/react-i18next) · [npm](https://www.npmjs.com/package/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
- Capabilities: [From the react-i18next docs](https://github.com/i18next/react-i18next)

**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.

**Watch out for**

- **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.

```sh
npm install react react-dom i18next react-i18next
```

**LibreChat-AI/LibreChat** (47.2K stars)

[LibreChat-AI/LibreChat](https://github.com/LibreChat-AI/LibreChat) 

```tsx
export default function useLocalize() {
  const { t } = useTranslation();

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

[client/src/hooks/useLocalize.ts](https://github.com/LibreChat-AI/LibreChat/blob/9363db541ecd4e23ab6a41dca47ca48ee2bd418e/client/src/hooks/useLocalize.ts#L12-L19) · [More projects using react-i18next →](https://dashboard.exa.ai/playground/search?q=React%20TypeScript%20projects%20using%20react-i18next%20for%20typed%20translation%20hooks%2C%20localized%20relative%20time%2C%20translated%20dialog%20actions%20and%20rich-text%20interpolation&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```tsx
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>;
}

```

From [getting-started.md](https://react.i18next.com/getting-started)

### next-intl

[GitHub](https://github.com/amannn/next-intl) · [npm](https://www.npmjs.com/package/next-intl) · [Docs](https://next-intl.dev)

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
- Capabilities: [From the next-intl docs](https://next-intl.dev)

**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.

**Watch out for**

- **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.

```sh
npm install next react react-dom next-intl
```

**ixartz/SaaS-Boilerplate** (7.5K stars)

[ixartz/SaaS-Boilerplate](https://github.com/ixartz/SaaS-Boilerplate) 

```tsx
export const Hero = () => {
  const t = useTranslations('Hero');

  return (
    <Section className="py-36">
      <CenteredHero
        banner={(
          <a
            className={badgeVariants()}
            href="https://twitter.com/ixartz"
            target="_blank"
            rel="noopener noreferrer"
          >
            <TwitterLogoIcon />
            {' '}
            {t('follow_twitter')}
          </a>
        )}
        title={t.rich('title', {
          important: chunks => (
            <span className="
              bg-linear-to-r from-indigo-500 via-purple-500 to-pink-500
              bg-clip-text text-transparent
            "
            >
              {chunks}
            </span>
          ),
        })}
        description={t('description')}
        buttons={(
          <>
            <a
              className={buttonVariants({ variant: 'outline', size: 'lg' })}
              href="https://github.com/ixartz/SaaS-Boilerplate"
            >
              <GitHubLogoIcon className="mr-2 size-5" />
              {t('secondary_button')}
            </a>

            <a
              className={buttonVariants({ size: 'lg' })}
              href="https://nextjs-boilerplate.com/nextjs-saas-starter-kit"
            >
              {t('primary_button')}
              <ArrowRightIcon className="ml-1 size-5" />
            </a>
          </>
        )}
      />
    </Section>
  );
};
```

[src/templates/Hero.tsx](https://github.com/ixartz/SaaS-Boilerplate/blob/e3952a7ed5b0ef172ac4363c4644b8c334d1094b/src/templates/Hero.tsx#L8-L60) · [More projects using next-intl →](https://dashboard.exa.ai/playground/search?q=React%20TypeScript%20projects%20using%20next-intl%20for%20typed%20translation%20hooks%2C%20localized%20relative%20time%2C%20translated%20dialog%20actions%20and%20rich-text%20interpolation&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```tsx
'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>;
}

```

From [README.md](https://next-intl.dev/docs/getting-started/app-router)

### React Intl

[GitHub](https://github.com/formatjs/formatjs) · [npm](https://www.npmjs.com/package/react-intl) · [Docs](https://formatjs.github.io/docs/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
- Capabilities: [From the React Intl docs](https://formatjs.github.io/docs/react-intl)

**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.

**Watch out for**

- **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.

```sh
npm install react react-dom react-intl
```

**Quickstart**

```tsx
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>;
}

```

From [Messages.tsx](https://formatjs.github.io/docs/react-intl/) · [Find projects using React Intl →](https://dashboard.exa.ai/playground/search?q=React%20TypeScript%20projects%20using%20react-intl%20for%20typed%20translation%20hooks%2C%20localized%20relative%20time%2C%20translated%20dialog%20actions%20and%20rich-text%20interpolation&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

### @lingui/react

[GitHub](https://github.com/lingui/js-lingui) · [npm](https://www.npmjs.com/package/@lingui/react) · [Docs](https://lingui.dev)

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
- Capabilities: [From the @lingui/react docs](https://lingui.dev)

**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.

**Watch out for**

- **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.

```sh
npm install react react-dom @lingui/core @lingui/react
```

**documenso/documenso** (15.8K stars)

[documenso/documenso](https://github.com/documenso/documenso) 

```tsx
export const SignaturePadDialog = ({
  className,
  fullName,
  value,
  onChange,
  disabled = false,
  disableAnimation = false,
  typedSignatureEnabled,
  uploadSignatureEnabled,
  drawSignatureEnabled,
  dialogConfirmText,
}: SignaturePadDialogProps) => {
  const { i18n } = useLingui();

  const [showSignatureModal, setShowSignatureModal] = useState(false);
  const [signature, setSignature] = useState<string>(value ?? '');

  const onOpenChange = (open: boolean) => {
    if (disabled) {
      return;
    }

    setSignature(value ?? '');
    setShowSignatureModal(open);
  };

  return (
    <div
      className={cn(
        'relative block aspect-signature-pad w-full select-none rounded-lg border bg-background',
        className,
        {
          'pointer-events-none opacity-50': disabled,
        },
      )}
    >
      {value && (
        <div className="inset-0 h-full w-full">
          <SignatureRender value={value} />
        </div>
      )}

      <motion.button
        data-testid="signature-pad-dialog-button"
        type="button"
        disabled={disabled}
        className="absolute inset-0 flex items-center justify-center bg-transparent"
        onClick={() => onOpenChange(true)}
        whileHover="onHover"
      >
        {!value && !disableAnimation && (
          <motion.svg
            width="120"
            height="120"
            viewBox="0 0 16 16"
            fill="none"
            xmlns="http://www.w3.org/2000/svg"
            className="text-muted-foreground/60"
            variants={{
              onHover: {
                scale: 1.1,
                transition: {
                  type: 'spring',
                  stiffness: 300,
                  damping: 12,
                  mass: 0.8,
                  restDelta: 0.001,
                },
              },
            }}
          >
            <motion.path
              d="M1.5 11H14.5M1.5 14C1.5 14 8.72 2 4.86938 2H4.875C2.01 2 1.97437 14.0694 8 6.51188V6.5C8 6.5 9 11.3631 11.5 7.52375V7.5C11.5 7.5 11.5 9 14.5 9"
              stroke="currentColor"
              strokeWidth="1.1"
              strokeLinecap="round"
              strokeLinejoin="round"
              initial={{ pathLength: 0, opacity: 0 }}
              animate={{
                pathLength: 1,
                opacity: 1,
                transition: {
                  pathLength: {
                    duration: 2,
                    ease: 'easeInOut',
                  },
                  opacity: { duration: 0.6 },
                },
              }}
            />
          </motion.svg>
        )}
      </motion.button>

      <Dialog open={showSignatureModal} onOpenChange={onOpenChange}>
        <DialogContent hideClose={true} className="p-6 pt-4">
          <SignaturePad
            id="signature"
            fullName={fullName}
            value={value}
            className={className}
            disabled={disabled}
            onChange={({ value }) => setSignature(value)}
            typedSignatureEnabled={typedSignatureEnabled}
            uploadSignatureEnabled={uploadSignatureEnabled}
            drawSignatureEnabled={drawSignatureEnabled}
          />

          <DialogFooter>
            <DialogClose asChild>
              <Button type="button" variant="ghost">
                <Trans>Cancel</Trans>
              </Button>
            </DialogClose>

            <Button
              type="button"
              disabled={!signature}
              onClick={() => {
                onChange(signature);
                onOpenChange(false);
              }}
            >
              {dialogConfirmText ? parseMessageDescriptor(i18n._, dialogConfirmText) : <Trans>Next</Trans>}
            </Button>
          </DialogFooter>
        </DialogContent>
      </Dialog>
    </div>
  );
};
```

[packages/ui/primitives/signature-pad/signature-pad-dialog.tsx](https://github.com/documenso/documenso/blob/1e2333d534e151578ffb05394428e2a7efea5f50/packages/ui/primitives/signature-pad/signature-pad-dialog.tsx#L27-L157) · [More projects using @lingui/react →](https://dashboard.exa.ai/playground/search?q=React%20TypeScript%20projects%20using%20%40lingui/react%20for%20typed%20translation%20hooks%2C%20localized%20relative%20time%2C%20translated%20dialog%20actions%20and%20rich-text%20interpolation&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```tsx
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>;
}

```

From [README.md](https://lingui.dev/ref/react)

### next-i18next

[GitHub](https://github.com/i18next/next-i18next) · [npm](https://www.npmjs.com/package/next-i18next) · [Docs](https://github.com/i18next/next-i18next#readme)

Translates Next.js apps.

- Downloads / mo: 2.8M
- Stars: 6.2K
- Last release: 16.4.11
- License: MIT
- Capabilities: [From the next-i18next docs](https://github.com/i18next/next-i18next#readme)

```sh
npm install next react react-dom next-i18next i18next react-i18next
```

**gethomepage/homepage** (33.7K stars)

[gethomepage/homepage](https://github.com/gethomepage/homepage) 

```javascript
export default function SignOut() {
  const { t } = useTranslation();
  const { status } = useSession();

  if (status !== "authenticated") {
    return null;
  }

  return (
    <div id="signout" className="rounded-full flex align-middle self-center mr-3">
      <button
        type="button"
        onClick={() => signOut({ callbackUrl: "/auth/signin?autologin=0" })}
        className="outline-hidden"
      >
        <MdLogout className="text-theme-800 dark:text-theme-200 w-6 h-6 cursor-pointer" aria-hidden="true" />
        <span className="sr-only">{t("auth.signout")}</span>
      </button>
    </div>
  );
}
```

[src/components/toggles/signout.jsx](https://github.com/gethomepage/homepage/blob/65ebc6abd321233bfa0aed382565221c359759bb/src/components/toggles/signout.jsx) · [More projects using next-i18next →](https://dashboard.exa.ai/playground/search?q=next-i18next%20GitHub%20projects)

**Quickstart**

```javascript
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>;
}

```

From [README.md](https://github.com/i18next/next-i18next)

### react-localization

[GitHub](https://github.com/stefalda/react-localization) · [npm](https://www.npmjs.com/package/react-localization) · [Docs](https://github.com/stefalda/react-localization#readme)

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
- Capabilities: [From the react-localization docs](https://github.com/stefalda/react-localization#readme)

```sh
npm install react@^19 react-dom@^19 react-localization
```

**Dygmalab/Bazecor** (505 stars)

[Dygmalab/Bazecor](https://github.com/Dygmalab/Bazecor) 

```javascript
const refreshHardware = ({ device }: any) => {
  i18n.getAvailableLanguages().forEach(code => {
    (strings as any)[code].hardware = device.instructions ? device.instructions[code] : {};
  });

  const language = i18n.getLanguage();
  Object.assign(i18n, new LocalizedStrings(strings));
  i18n.setLanguage(language);
};
```

[src/renderer/i18n.ts](https://github.com/Dygmalab/Bazecor/blob/f49f25b11ce21ec22cd8fd6ad44410d749793c07/src/renderer/i18n.ts) · [More projects using react-localization →](https://dashboard.exa.ai/playground/search?q=react-localization%20GitHub%20projects)

**Quickstart**

```javascript
import LocalizedStrings from 'react-localization';
const strings = new LocalizedStrings({en: {hello: 'Hello'}, it: {hello: 'Ciao'}});
console.log(strings.hello);

```

From [README.md](https://github.com/stefalda/react-localization)

### @tolgee/react

[GitHub](https://github.com/tolgee/tolgee-js) · [npm](https://www.npmjs.com/package/@tolgee/react) · [Docs](https://tolgee.io)

React implementation for Tolgee localization framework

- Downloads / mo: 505.3K
- Stars: 261
- Last release: 7.3.0
- License: MIT
- Capabilities: [From the @tolgee/react docs](https://tolgee.io)

```sh
npm install react react-dom @tolgee/react
```

**Quickstart**

```javascript
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>;
}

```

From [README.md](https://docs.tolgee.io/js-sdk/integrations/react/installation) · [Find projects using @tolgee/react →](https://dashboard.exa.ai/playground/search?q=%40tolgee/react%20GitHub%20projects)

### next-translate

[GitHub](https://github.com/aralroca/next-translate) · [npm](https://www.npmjs.com/package/next-translate) · [Docs](https://github.com/aralroca/next-translate#readme)

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
- Capabilities: [From the next-translate docs](https://github.com/aralroca/next-translate#readme)

```sh
npm install next react react-dom next-translate
```

**vercel/next.js** (143.6K stars)

[vercel/next.js](https://github.com/vercel/next.js) 

```javascript
export default function Home() {
  const { t, lang } = useTranslation();
  const isRTL = lang === "ar" || lang === "he";
  const arrow = isRTL ? String.fromCharCode(8592) : String.fromCharCode(8594);

  return (
    <main dir={isRTL ? "rtl" : "ltr"}>
      <Trans
        i18nKey="home:title"
        components={[
          <h1 className="title" />,
          <a href="https://nextjs.org">Next.js!</a>,
        ]}
      />

      <p className="description">
        {t("home:description")} <code>_pages/index.js</code>
      </p>

      <div className="grid">
        <Link href="/en">
          <div className="card">
            <h3>{t("home:english")}</h3>
            <p>
              {t("home:change-to")} {t("home:english")}
            </p>
          </div>
        </Link>

        <Link href="/ca">
          <div className="card">
            <h3>{t("home:catalan")}</h3>
            <p>
              {t("home:change-to")} {t("home:catalan")}
            </p>
          </div>
        </Link>

        <Link href="/ar">
          <div className="card">
            <h3>{t("home:arabic")}</h3>
            <p>
              {t("home:change-to")} {t("home:arabic")}
            </p>
          </div>
        </Link>

        <Link href="/he">
          <div className="card">
            <h3>{t("home:hebrew")}</h3>
            <p>
              {t("home:change-to")} {t("home:hebrew")}
            </p>
          </div>
        </Link>

        <a href="https://nextjs.org/docs" className="card">
          <h3>Next.{`js ${arrow}`}</h3>
          <p>{t("home:next-docs")}</p>
        </a>

        <a href="https://github.com/vinissimus/next-translate" className="card">
          <h3>{`Learn ${arrow}`}</h3>
          <p>{t("home:plugin-docs")}</p>
        </a>
      </div>
    </main>
  );
}
```

[examples/with-next-translate/app/[lang]/page.js](https://github.com/vercel/next.js/blob/95ee55c8cfc904d89dbfd505b48f48fa8be4e7a3/examples/with-next-translate/app/%5Blang%5D/page.js) · [More projects using next-translate →](https://dashboard.exa.ai/playground/search?q=next-translate%20GitHub%20projects)

**Quickstart**

```javascript
'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>;
}

```

From [README.md](https://github.com/aralroca/next-translate)

## FAQ

### Which React i18n library should I use?

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

### What is Lingui?

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

### What is react-i18next?

[react-i18next](#react-i-next) connects React components to the i18next translation engine. Its useTranslation hook supplies translation functions and namespace loading state.

### What is React Intl?

[React Intl](#react-intl) provides React components and formatting APIs for ICU messages, dates, numbers, and relative time.

### How does next-intl work with Server Components?

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

## How this page was built

Data checked Nov 20, 2026.

Reproduce it with the Exa API:

```json
{
  "endpoint": "/search",
  "body": {
    "query": "Best React i18n internationalization libraries react-i18next React Intl Lingui next-intl code examples",
    "numResults": 5
  }
}
```

Docs: https://exa.ai/docs/reference/search
