Install Community and translate a locale file

Install Transglot Community, find JSON, YAML, or PHP locale files, connect a model, and review the translation in Git.

Install Node.js 22.15 or later, npm, and Git. For a first run, use the example project or bring a Git checkout with supported locale files. Set up a model connection before you request translations.

Start the editor

git clone https://github.com/transglot/community.git
cd community
npm ci
npm start

The editor listens on 127.0.0.1. Open the private URL printed in your terminal if the browser does not open. Keep that URL private. To try a disposable project with sample strings, run npm run demo from the checkout instead of npm start.

Import a checkout

Open Projects and choose Import folder. Paste the absolute path to your checkout in Folder path and select Detect files. Check the source language, target languages, and detected patterns. Open Preview import and check the preview before you select Import project. If Community misses your layout, set a custom file pattern.

Test your model

Open AI & context, select a connection and model, then choose Test translation. The test sends a fixed greeting that includes a placeholder. It can use provider credits. When the sample passes, select Save AI & context settings.

Preview and translate

Open Translations and choose a target language. You can narrow the list by file, key, or status. Start a translation run and read the Translation plan to check the model and target files. Confirm when the scope is right. Existing translations and manually edited or reviewed strings stay protected.

Review and commit

Open Review changes and compare each draft with its previous value. Select Edit string to revise it or Approve to mark it reviewed. Check git status for new target files and git diff for changes to tracked files. Commit the locale files and .transglot/state.json if you want to share review status with other checkouts.

Refresh or restore a file

If you make changes outside Community, select Refresh files in Translations, then preview the run again. Use Restore points to recover a local snapshot. Community refuses a restore if it would overwrite newer external changes.

Use Help in the editor header to revisit the workflow while you work. See the CLI guide to inspect and preview translations from a terminal.

On this page