Start
Getting started
TolkBot translates the keys in your locale files and opens a pull request for each target language. Set it up with the GitHub App, or translate from your terminal with the CLI.
Quick start
Get your first translation pull request in minutes with the GitHub App.
CLI installation
Install the CLI and translate files directly from your terminal.
The translation pipeline
What happens to a key between your push and the pull request, and which checks it passes.
Supported frameworks
next-intl, react-i18next, vue-i18n, Expo with i18n-js, and more.
Two ways to translate
GitHub App (automated)
Install the TolkBot GitHub App on your repository. When a push changes your base language's files, TolkBot translates the new and changed keys and opens a pull request for each target language.
- Translations are committed to a persistent
tolkbot/{project}-i18n-{lang}branch - Each pull request stays open and is updated as you push more changes
- Correct a translation by mentioning
@tolkbotin a comment on the pull request
CLI (local)
Use the tolkbot CLI to translate files directly from your terminal. You decide when it runs and which files it writes.
npx tolkbot translate --dst fr
One command translates what is missing or changed and writes the results into your locale files. --dry-run shows what it would do first, and tolkbot jobs lists and inspects the jobs it ran.
How the docs are organized
- Start: set up a project and get your first pull request.
- Pull requests: what TolkBot puts in its pull requests, how to correct a translation from a comment, and what happens when you remove or rename a key.
- Dashboard: one page per screen, from the Overview where work waits for you to Translations, where you edit, lock and retranslate.
- How it works: the pipeline, the checks and the review pass, the health scan of what is already in your repository, translation memory, and placeholders and plurals.
- CLI and agents: translating and validating from a terminal or in CI.
- Reference: formats, frameworks, languages, and notifications and emails.
Next steps
If you want automated translations on every push, start with the Quick start guide.
If you prefer translating locally, jump to the CLI installation guide.