React i18n einfach gemacht
Typsichere Internationalisierung für React‑Anwendungen mit Hooks, Context und nahtloser CDN‑Auslieferung.
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.
npm install @better-i18n/use-intl use-intlWrap 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.
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.
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
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>
);
}Provider fetches from the CDN once
Every component reads from context
60s in-memory cache, offline fallback
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
Related Articles
How to Add i18n to Shopify Hydrogen (Complete Guide)
Shopify Hydrogen is the modern way to build custom storefronts — but adding internationalization (i18n) can be challenging. You need locale-aware routing,...
Read More →Introducing the Better i18n CLI: Manage Translations from Your Terminal
Until now, managing translation keys on Better i18n meant using the dashboard UI or connecting an MCP server to your AI assistant. Both work great — but...
Read More →Django i18n mit KI-Übersetzung: Vollständige Einrichtungsanleitung
Django i18n mit KI-Übersetzung: Vollständige Einrichtungsanleitung Django wird mit einem ausgereiften Internationalisierungs-Framework (i18n) geliefert,...
Read More →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.