Start
Connect GitHub
Install the TolkBot GitHub App to get automated translation PRs on your repositories.
Install the GitHub App
- Sign in to the TolkBot dashboard at tolkbot.ai
- Open the organization's Settings → Connections
- Click Connect GitHub. The New Project page offers the same button until GitHub is connected.
- Install the TolkBot app on your GitHub account or organization
- Select which repositories TolkBot should have access to
TolkBot asks for read and write access to repository contents, pull requests and issues, which is where GitHub keeps a pull request's conversation comments and labels. It reads your locale files, the list of file paths, and while setting up a project the files that say which i18n library you use. Trust and data lists every permission and what it is for.
Connect a repository
After installing the GitHub App:
- In the TolkBot dashboard, open Projects and click New Project
- Click Import next to the repository
- If your repository is a monorepo, pick the root directory (e.g.,
apps/web) to scope TolkBot to that app
Configure translation patterns
TolkBot auto-detects your framework and locale file structure. After creating a project, review the detected settings under Settings → Languages:
- Base language — the source locale you author content in (usually
en) - Target languages — languages to translate to
- Source pattern — file path pattern (e.g.,
messages/{locale}.json) - Output pattern — where translated files are written (usually the same as source)
Auto-detection
TolkBot scans common directories for locale files:
locales/,locale/,messages/,i18n/,translations/,lang/,languages/, wherever they sit in the repository (src/locales/,public/locales/and so on)
Supported file formats: .json, .ts, .js
Monorepo support
For monorepos, pick a root directory when you create the project to scope TolkBot to that directory. Only file changes within it trigger translation PRs. Create one project per app; each tracks its own files.
For example, if your translations live in apps/web/messages/, set the root directory to apps/web.
Several organizations, one GitHub account
GitHub lets an account install the app once. To use the same installation in another TolkBot organization, open Settings → Connections in that organization and choose Connect GitHub again. A part of a repository can be managed by one organization at a time. See Organization and members.
Disconnecting
Settings → Connections has no disconnect button. To disconnect, uninstall the TolkBot app on GitHub, or remove a repository from the app's access there. Projects on a repository TolkBot can no longer reach are archived and come back when the access does; see archived projects.