Zum Inhalt springen
React SDK

React i18n einfach gemacht

Typsichere Internationalisierung für React‑Anwendungen mit Hooks, Context und nahtloser CDN‑Auslieferung.

Source string

useTranslations('common')

Edited in code, picked up on the next scan

Glossary

Brand terms stay untranslated

AI translation

Written from your product context, not word by word

Git sync

chore/i18n-sync

Opened as a pull request for review

Published

de.json

Live on the CDN, no deploy

Published

fr.json

Live on the CDN, no deploy

Published

ja.json

Live on the CDN, no deploy

Published

tr.json

Live on the CDN, no deploy

Better I18N

One source of truth for every language

Setup

Installation & Setup

Get started with @better-i18n/use-intl in three steps — install, wrap your app with the provider, and start translating.

Install

Add @better-i18n/use-intl and use-intl to your project.

terminal
npm install @better-i18n/use-intl use-intl

Wrap your app with BetterI18nProvider

Place the provider at the root of your component tree. It fetches messages from the CDN and makes them available via hooks.

App.tsx
import { BetterI18nProvider } from '@better-i18n/use-intl';

function App() {
  return (
    <BetterI18nProvider project="your-org/your-project" locale="en">
      <YourApp />
    </BetterI18nProvider>
  );
}

Use translations

Call useTranslations() in any component to access your translation keys with full TypeScript support.

MyComponent.tsx
import { useTranslations } from '@better-i18n/use-intl';

function MyComponent() {
  const t = useTranslations('common');
  return <h1>{t('welcome')}</h1>;
}

Capabilities

Features

Starten Sie in Minuten mit Better I18N in Ihrer React‑App.

React Hooks API (useTranslations)

Voller TypeScript‑Support mit Autocomplete

Lazy Loading für optimale Bundle‑Größe

ICU‑Message‑Format mit Pluralisierung

Variablen‑Interpolation und Formatierung

React Context für Locale‑Management

SSR‑ und SSG‑Support

Hot Reload während der Entwicklung

DevTools‑Integration

MyComponent.tsx
import { useTranslations } from '@better-i18n/use-intl';

function MyComponent() {
  const t = useTranslations('common');

  return (
    <div>
      <h1>{t('welcome')}</h1>
      <p>{t('greeting', { name: 'World' })}</p>
    </div>
  );
}
<BetterI18nProvider>

Provider fetches from the CDN once

useTranslations('common')

Every component reads from context

TtlCache · 60s

60s in-memory cache, offline fallback

t('welcome')

Keys typed from your project

Ecosystem

Funktioniert mit beliebten React‑i18n‑Bibliotheken

Better I18N ersetzt Ihre Lieblings‑i18n‑Bibliothek nicht – es ist die Translation‑Management‑Schicht, die sie noch leistungsfähiger macht.

react-intl

Die beliebteste React‑i18n‑Bibliothek mit Unterstützung für das ICU‑Message‑Format. Von Tausenden Produktions‑Apps genutzt.

Better I18N synchronisiert Ihre Übersetzungen direkt ins react-intl‑JSON‑Format. Im Dashboard bearbeiten, Änderungen sofort in Ihrer App sehen.

react-i18next

Leistungsstarkes i18n‑Framework für React auf Basis von i18next. Features wie Namespaces, Interpolation und Plurals sind integriert.

Exportieren Sie in i18next‑kompatibles JSON mit Namespaces. Better I18N übernimmt den Übersetzungs‑Workflow, i18next das Runtime‑Handling.

FormatJS

Eine Bibliothekssammlung für Internationalisierung, die react-intl einschließt. Unterstützt ICU‑Message‑Syntax und CLDR‑Daten.

Better I18N unterstützt das ICU‑Message‑Format nativ. Verwalten Sie komplexe Plurals und Selects visuell und exportieren Sie ins FormatJS‑Format.

Lingui

Eine gut lesbare, automatisierte und optimierte i18n‑Bibliothek. Großartige DX mit macro‑basierter Message‑Extraktion.

Extrahieren Sie Messages mit der Lingui CLI, verwalten Sie Übersetzungen in Better I18N und synchronisieren Sie sie automatisch per GitHub‑Integration zurück.

Keep reading

Ähnlich

i18n für andere Frameworks entdecken

Wir nutzen Better I18N in unserer Next.js-Plattform und in unseren Mobile-Apps. Ein Werkzeug für jedes Produkt – Übersetzungen sind live, sobald wir pushen, ohne Redeploy, ohne Reibung.

Samet Selcuk

Gründer, Hellospace

Mit React‑i18n loslegen

Kostenloser Tarif verfügbar. Keine Kreditkarte erforderlich.