Manual
CLI
API
Log in Get started free

Pull translations for your build

Get the approved translations of a project into your build pipeline.

Use the pull route to get translations into a build:

HTTP
GET https://api.continuous-translations.com/projects/{id}/pull?language=nl&branch=main
Authorization: Bearer <YOUR_API_KEY>
ParameterDescription
languageThe language code, e.g. nl
branchThe branch to read, e.g. main
statusWhich translations to include. The CLI asks for approved translations unless you pass --drafts

The key needs the translations:read scope, see Authentication.

Let the CLI do it #

For most projects you don’t call this route yourself. ct pull calls it for every active language and writes the files in your project’s format:

SH
npx @continuous-translations/cli pull

See Commands for options such as --require-complete 100, and Use the CLI in CI for pipeline examples.

Automate it #

Start a build with a webhook when all keys on a branch reach 100% translation coverage. This is the recommended pattern for continuous deployment.