BabelizeBabelize
CLI

Pull Requests

List, raise and update GitHub pull requests with translated locale files from the Babelize CLI, so every translation change lands as a reviewable PR.

Commands

babelize pr list <projectId>

Show the current PR status for a project.

babelize pr list <project-uuid>
babelize pr list <project-uuid> --json

Output:

╔══════════════╤════════════════════════════════════════╗
║ pr_number    │ #42                                    ║
╠══════════════╪════════════════════════════════════════╣
║ status       │ open                                   ║
╠══════════════╪════════════════════════════════════════╣
║ url          │ https://github.com/yourorg/app/pull/42 ║
╚══════════════╧════════════════════════════════════════╝

babelize pr raise <projectId>

Open a new GitHub PR with the current translated locale files.

babelize pr raise <project-uuid>
babelize pr raise <project-uuid> --branch develop
babelize pr raise <project-uuid> --title "Add Spanish translations"
babelize pr raise <project-uuid> --new
OptionDescription
--branch <branch>Base branch to open the PR against. It must exist in the repository. Defaults to the project's branch (or the repository's default branch).
--title <title>PR title. Defaults to one naming the translated languages, e.g. chore(i18n): add translations for de, fr.
--newOpen a new PR even though the project's PR is still open (the project then links to the new one).

If the project's PR is still open, pr raise refuses and tells you to run babelize pr update instead (or use --new).

The PR description lists the languages, the run's quality checks (untranslated strings, QA warnings, strings not wired into code) and the files it changes. The PR URL is printed on success and can be opened directly in the browser.

babelize pr update <projectId>

Push new translation changes to an existing open PR.

babelize pr update <project-uuid>

Use this after running a new babel or making local changes — it updates the PR branch without closing and re-opening it.

Last updated: 2026-10-16

How is this guide?

On this page