All articles
8 min read

Translation Quality Checks: Stop Broken Placeholders at the Merge, Not in Production

Ten automatic checks on every translation, a merge gate that refuses broken strings, and AI review for meaning, before a lost {count} reaches users.

QACI/CDWorkflow

The bug report says the cart page is broken in German. Not awkward – broken. The German screen says "Sie haben Artikel im Warenkorb" with no number in it, because somewhere between the source string and the release, the {count} in You have {count} items in your cart went missing. Two keys further down, a translated <b> tag was never closed. Depending on your i18n library, that shows up as raw markup, as a paragraph that is bold to the end, or as an error that takes the whole component down with it.

Nobody did anything unusual to get there. A translator rushed 200 strings before a deadline, someone approved the batch because the German read well, and the developer who reviewed the 400-line de.json diff doesn't read German.

Review can't carry this on its own

Translation review is built for meaning. A native speaker decides whether a sentence sounds right – they are rarely the person who knows that {count} is load-bearing, and the developer who knows it can't read the Japanese, the Polish and the Finnish. The numbers don't work anyway: 50 new strings in 40 languages is 2,000 translations. Nobody eyeballs 2,000 translations for a missing brace, and nobody should have to.

These are mechanical errors, and software is good at those. So Translatize splits the job: rule checks for what can be checked mechanically, a merge gate that decides what the errors may do, and AI review for what rules can't see.

Ten checks on every change

Every change in Translatize is checked against its source as soon as it's saved – typed in the label editor, imported from a file, pushed from the CLI or written by AI translation. Ten rule checks run on each translation:

CheckSeverityCatches, for example
PlaceholdersError{count} missing from the German, or {{name}} renamed to {{nom}}
ICU syntaxErrora plural message that lost its last closing brace
Plural formsWarninga Russian plural with only one and other – Russian also needs few and many
HTML tagsErroran <a> that is opened and never closed
Character limitErrora 31-character German button on a key limited to 18
WhitespaceWarningthe trailing space of "Total: " dropped in the translation
UntranslatedWarningSave changes left in English in the French file
GlossaryErrora term the project glossary prohibits, or one used without its required translation
NumbersWarning"over 50 €" translated as "ab 30 €"
End punctuationInfothe question mark gone from Delete this project?

Translatize's own AI translation never writes a value that lost a placeholder – it leaves it empty for a person instead. The checks cover everything else: hand edits, imports, files back from an agency.

Findings show up where people already work: a Quality checks panel in the label editor, a badge on each affected cell of the labels table, and error and warning counts per branch on the Branches page – so you see that feature-checkout has three errors before anyone asks to merge it.

You tune the checks per project in Project Settings → Quality checks: switch any of them off, and pick the placeholder syntaxes your strings use – ICU, double braces, printf, HTML tags, and Laravel-style :name, off by default because ordinary text can look the same. The checks already know things a homemade script wouldn't: 1,000 and 1.000 are the same number, and en → en-GB may legitimately be identical.

The merge gate decides what an error may do

Findings in an editor are useful; findings that can't reach production are better. The merge gate is a per-project setting with three modes:

  • Off – merges are never checked.
  • Warn – the default. The merge screen shows the QA errors and warnings, and the merge goes through.
  • Block – a merge whose translations have QA errors is refused.

You also choose which merges it guards: merges into main (the default) or into every branch. The gate looks only at the translations the merge would change, so an old error on a key this feature never touched doesn't hold it up. And only errors block – warnings, info and AI review findings never do.

A string on its way to main, with the gate on Block

  1. Strings land on a feature branchDeveloper or AI

    Pushed from the CLI, typed in the editor, or filled by AI translation.

  2. Every change is checkedTranslatize

    Findings appear in the editor and as error counts on the branch.

  3. Fix it, or ignore it with a noteTranslator or developer

    Real errors get fixed; a deliberate exception is ignored for that one string.

  4. Merge into mainAdmin or owner

    The gate re-checks what the merge changes. Any error left refuses the merge.

Before anyone merges, the merge screen shows the gate: how many translations it checked, the errors and warnings, and a link straight to the branch in the editor. With the gate on Block and errors in the list, the merge doesn't happen.

There is one way past a block, and it's narrow on purpose. An admin or owner can override the gate with a written reason – "known false positive, the placeholder is added in code" – and the override goes into the audit log with their name, the reason and the number of errors. API tokens can never override: a script in your pipeline, an AI agent working over MCP or the GitHub App gets 409 qa_gate_blocked and has to fix the errors like everyone else. In Block mode, an error reaches main only when a named person decides it should, on the record.

This is where the gate meets translation branching: each feature's strings live on their own branch, so a broken string on someone else's branch can't block yours.

False positives get a note, not a workaround

Any rule set is occasionally wrong for your product. "Download" is a perfectly good German word for a download, so the untranslated check will flag it. A marketing headline may drop its full stop on purpose.

Developers, admins and owners can ignore a finding from the label editor, with an optional note on why. It stays hidden until the source or the translation changes, so if someone later breaks the same string in a new way, it comes back. Ignored findings don't count for the merge gate, they follow the keys across branches and merges, and every ignore lands in the audit log. Unlike switching a check off, the exception covers one string and expires when the string changes.

AI review reads for meaning

Rule checks can prove that {count} survived. They can't tell you that the German button now says "buy later". For that there is AI review, on the Professional and Agency plans.

AI review reads the source and the translation together, scores each translation from 0 to 100, and points out where the meaning may differ, where the text doesn't read naturally, where terminology doesn't match your glossary or the rest of your product, and where the style doesn't match your style guide – the same style guide and per-language guidance you write for AI translation. Findings land in the editor's Quality checks panel, with a suggested fix when there is one.

AI findings are warnings at most, and they never block a merge: a model's opinion shouldn't be able to stop a release, only a broken string should. To run a review, open AI review on the labels page, choose the whole branch or the keys you selected, pick the languages and start. You can close the dialog – findings arrive as the review runs, and you get a notification when it's done.

If your team uses AI translation, tick AI review after AI translation in Project Settings → Quality checks. Each time an AI translation finishes, Translatize reviews what it just wrote, so AI output arrives with a second opinion attached, until the monthly allowance runs out. Where human approval fits on top is the subject of a translation review workflow that doesn't hold up releases.

In CI and in your agent's loop

The checks, the gate and AI review also run outside the app, with a branch-bound API token. The CLI's qa command runs the checks and fails the build:

export TRANSLATIZE_API_TOKEN=mcni_xxx
npx @translatize/cli qa --fail-on error

--fail-on error is the default; --fail-on warning fails on warnings too. Pointed at a branch the token created with --branch, it also previews that branch's merge gate and fails whenever the gate would block.

The GitHub Action wraps the same command:

- uses: translatize/sync-action@v1
  with:
    command: qa
    token: ${{ secrets.TRANSLATIZE_API_TOKEN }}
    fail-on: error

And so does the GitLab component:

include:
  - component: gitlab.com/translatize/gitlab/translatize@0.2.0
    inputs:
      command: qa
      fail_on: error

On Professional and Agency, the GitHub App goes one step further: every pull request gets the QA results and a gate preview on its "Translatize" check, with no workflow file to maintain.

AI agents get the same through the MCP server, with five tools: run_qa, get_qa_issues, check_merge_gate, start_ai_review and ai_review_status. An agent that adds new strings can run the checks, fix its own errors, preview the gate and only then ask you to approve the merge. If it skips a step, a gate on Block still refuses. AI agents and MCP walks through a full agent session.

What it costs

The ten rule checks, ignoring findings, the merge gate with its override, and QA in CI are on every plan, Free included. A one-person project on Free gets the same gate as a team on Agency.

AI review comes with Professional ($49 a month, 1,000,000 characters a month) and Agency ($199 a month, 5,000,000), on an allowance of its own, separate from AI translation. A review uses as many characters as the translations it reviews are long, and translations that couldn't be reviewed aren't counted.

Setting it up

Open Project Settings → Quality checks, set the merge gate to Block for main, and add translatize qa to your pull request pipeline. The quality checks documentation has every check with an example and the full CI setups, and the ICU message format guide explains the plural categories the plural check expects.

Keep reading