Inconsistency Check tool
The Inconsistency Check tool tracks the mapping between source text and its translation across blocks and flags inconsistencies. By default it reports target inconsistency: the same source string translated more than one way. Optionally it can also report source inconsistency: distinct source strings that share a single translation. Each block records a status (consistent or inconsistent), the inconsistency type, and the alternative translations or sources observed.
Source and target text are trimmed before comparison, and comparison can be made case-insensitive. By default the tool compares segments across all input documents; per-file mode resets its tracking state at the start of each document so consistency is judged within a single file. A target locale is required.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
caseSensitive | boolean | true | Whether comparison is case-sensitive |
checkPerFile | boolean | false | Process each input file individually instead of comparing segments across all documents |
checkSourceInconsistency | boolean | false | Flag when different sources share the same translation |
checkTargetInconsistency | boolean | true | Flag when the same source has different translations |
displayOption | string | generic | Controls how inline codes are represented: original codes or generic markers or plain text |
Configure these parameters interactively and copy the flow-step YAML on the Tool Reference.
Examples
Check both directions of inconsistency
Flag both differing translations of one source and shared translations of different sources.
checkTargetInconsistency: true checkSourceInconsistency: true
Per-file consistency
Judge consistency within each document independently.
checkPerFile: true
Processing notes
Operates on translatable blocks; non-translatable structure passes through unchanged.
Tracking state is global by default and reset per document only when per-file checking is enabled.
Limitations
Compares exact (trimmed) text; near-duplicate sources or translations are not detected.
Requires a configured target locale; blocks without a translation for it are skipped.
← Back to the Tool Reference