React Native
Add multiple languages to your React Native app
Getting started
Add translations to your React Native app with gt-react-native. Choose the quickstart guide that matches your setup:
Expo Quickstart
For Expo projects (SDK 49+). Uses expo-router and Expo's build system.
React Native CLI Quickstart
For bare React Native CLI projects. Uses Metro and native builds directly.
gt-react-native is still experimental and may not work for all projects.
Please let us know if you encounter any issues by opening an issue on GitHub.
Want automatic setup? Run npx gt@latest to configure everything with the Setup Wizard.
What you get
- JSX translation with the
<T>component - String translation with the
useGThook - Variables, plurals, and branches with
<Var>,<Plural>, and<Branch> - On-demand translation in development with a dev API key
- Pre-generated translations in production via the
gt translateCLI command
Next steps
<T>Component Guide — Learn about variables, plurals, and advanced translation patterns- String Translation Guide — Deep dive into
useGT - Variable Components — Handle dynamic content with
<Var>,<Num>,<Currency>, and<DateTime> - Deploying to Production — CI/CD setup, caching, and performance optimization