Skip to content

Optional analytics, session recording and advertising stay off unless you accept. You can reject them and use Transglot. Change your choice anytime in Cookie preferences. Cookie Policy

Transglot Community · MIT license

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.

Transglot Community i18n editor showing source keys, target locales, and translation status

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.

  1. Community import preview showing English and French JSON files and one existing translation

    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
  2. Translation plan with one string selected and locales/fr/messages.json listed as the target file

    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
  3. Review changes showing a French project invite draft with its name placeholder preserved and an Approve button

    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.

FormatSupported 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

See format limits and mapping examples

Example Git diff · locales/fr/messages.json
 {
   "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

Each repository can use a different model. A cloud connection sends selected source strings, key names, and relevant project context to the provider you choose.

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 demo

For 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

Yes. Install Community and download a model first, then connect a locally running model server such as Ollama. The editor and model can run on the same machine.
Community translates string values and preserves keys and non-string data in supported JSON locale files. It checks placeholders and ICU structure, and you can inspect the written file with Git. A changed file can be reformatted when saved.
Yes. Add each repository in Projects. Each project keeps its own language mappings, AI connection, glossary, and review history.
Community runs on your machine with a model you choose. The hosted grant gives eligible open-source projects access to the hosted Team plan after approval.

Translate one file. Review the change.

Start with the disposable demo, then bring over a repository you already maintain.