Twenty languages that agree with each other.

Add the English and merge. Each of the other nineteen gets its own pull request, with your terminology, in your tone, in the files you already have.

messages/en.json
tolkbot.json
{
"welcome": "Welcome to our app",
"dashboard": {
"title": "Dashboard",
"greeting": "Hello, {name}"
}
}

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 @tolkbot in a comment on the pull request

Connect GitHub

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.

Install the CLI


How the docs are organized


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.