kapi translation-comparison
kapi translation-comparison [files...]Translation Comparison
Try it
Runs in your browser against a small sample file. Edit the command before running, or press Run to execute it as shown.
kapi translation-comparisonFlags
| Flag | Type | Default | Description |
|---|---|---|---|
| --case-sensitive | bool | true | Take case differences into account when comparing |
| --concurrency, -j | int | 0 | max parallel files (0 = auto) |
| --document1-label | string | Trans1 | Label for the first translation in reports |
| --document2-label | string | Trans2 | Label for the second translation in reports |
| --encoding, -e | string | UTF-8 | input file encoding |
| --fail-on-unknown | bool | false | exit with error if any file cannot be processed (default: skip with warning) |
| --format, -f | string | override input format detection | |
| --generic-codes | bool | true | Use generic numbered tags (e.g. <1>...</1>) instead of original inline codes in reports |
| --json | bool | false | output results as JSON |
| --map, -m | stringArray | map glob pattern to format (e.g. '*.docx=okf_openxml:test') | |
| --no-warn | bool | false | suppress warnings for skipped files |
| --pack | bool | false | when transforming a .klz, also eject the result to the .klz (auto-pack) |
| --parallel-blocks | int | 0 | fan out block processing across N goroutines (0 = off) |
| --progress, -p | bool | false | show progress bar |
| --punctuation-sensitive | bool | true | Take punctuation differences into account when comparing |
| --source-lang | string | en | source language (e.g. en, en-US) |
| --strict | bool | false | alias for --fail-on-unknown |
| --target-lang | string | target language (e.g. fr, de-DE) | |
| --trace | string | write flow trace JSON to file (for flow visualization) | |
| --whitespace-sensitive | bool | true | Take whitespace differences into account when comparing |
← Back to the Command Reference