Open-source i18n translation tool
Translate JSON, YAML, and Laravel PHP locale files on your machine. Bring your own model, preview the strings it will translate, and review the Git diff before you commit.

From locale files to a reviewed Git diff
Start with one repository and one target language. Use the browser editor for the workflow below, or run the same translation engine from the terminal.

Import the locale files you already have
Open Projects and select Import folder. Confirm the source language, target locales, and detected file patterns before importing. Community keeps a separate project for each repository, with its own model, glossary, and review history.
View full-size screenshot
See what the model will translate
Pick a target language and filter to the missing keys you want. The translation plan shows how many strings are in scope, which files will be written, and the selected model. Confirm the plan when the scope is right.
View full-size screenshot
Review the draft before you commit
Compare the draft with its previous value in Review changes. Community checks placeholders such as {{name}}, ICU message structure, HTML tags, and configured glossary rules. Edit or approve the draft, then inspect the Git diff. Use a restore point to recover an earlier version if needed.
View full-size screenshot
A JSON translator that keeps your app’s keys
Community translates string values in your locale files. Keys and non-text values keep their meaning. A run targets missing or eligible changed drafts, and automatic updates protect manual and reviewed work.
| Format | Supported locale data |
|---|---|
| JSON | Flat or nested objects and arrays of strings locales/en/messages.json |
| YAML | String values in YAML maps locales/en/messages.yaml |
| Laravel PHP | Laravel PHP files returning literal arrays lang/en/messages.php |
{
"project": {
- "create": "Créer un projet"
+ "create": "Créer un projet",
+ "invite": "Invitez {{name}} dans votre équipe"
}
}
The new French value keeps the same key and the {{name}} placeholder. The existing translation stays in place.
Choose where translation runs
Run a model locally
Use Ollama, LM Studio, llama.cpp, vLLM, or Docker Model Runner. Inference stays on your machine with a locally loaded model.
Use your own API key
Choose a supported AI provider, or point it at your own model endpoint. Usage and billing follow your provider’s plan.
Sign in with ChatGPT
Use an eligible ChatGPT account. Available models, credits, and usage limits depend on the account.
Run the local demo
Install Git, npm, and Node.js 22.15 or later. The demo opens a disposable example in the local browser editor and requires no Transglot account.
git clone https://github.com/transglot/community.git
cd community
npm ci
npm run demoFor a local run, start Ollama and download the demo’s default model. ollama pull qwen3:8b
In AI & context, select Ollama and the model ID qwen3:8b, then test and save the connection. Search for project.invite in the demo and preview a French translation.
When you’re ready to use your own files, stop the demo and run npm start from the checkout. Import your repository from Projects.
Questions about local i18n translation
Can I translate locale files offline?
Can I translate a JSON file without changing its keys?
Can I use Community with multiple repositories?
How does Community relate to the hosted open-source grant?
Translate one file. Review the change.
Start with the disposable demo, then bring over a repository you already maintain.