React

Lokali for React

Keep your react-intl and react-i18next strings in sync, automatically. Push code — Lokali opens the translation PR. No CI workflow to write.

Install Lokali on your React repo → Audit your repo

What Lokali detects in React repos

Lokali watches these glob patterns across both react-intl and react-i18next conventions. Any push that touches them triggers an automatic translation PR.

react-i18next / public
public/locales/*/*.json public/locales/**/*.json
react-intl / extracted
src/locales/*.json src/translations/*.json
i18n/ folder pattern
src/i18n/*.json src/i18n/**/*.json
Generic locales
locales/**/*.json lang/**/*.json

react-i18next: source → translated PR

You update public/locales/en/translation.json. Lokali opens a PR adding the Spanish, French, and German equivalents.

public/locales/en/translation.json
{
  "welcome": "Welcome back!",
  "save_changes": "Save changes",
  "discard": "Discard",
  "loading": "Loading…"
}
public/locales/de/translation.json (PR)
{
  "welcome": "Willkommen zurück!",
  "save_changes": "Änderungen speichern",
  "discard": "Verwerfen",
  "loading": "Wird geladen…"
}

↑ es, fr, ja, pt also in the same PR. Review, merge, done.


See it in action

A real translation PR on a React-based demo app — opened automatically by Lokali after a single push.

🔀
Polsia-Inc / lokali-demo-app
React SaaS demo with 25 realistic strings. Lokali opened translation PRs for 5 locales automatically. No workflow YAML, no scripts — just the GitHub App.

Add Lokali to your React repo

Install in 30 seconds. Translation PRs arrive on your next push.

Install Lokali on GitHub → Full setup guide → Audit your repo first

Also works with