Skip to main content

kapi exec term-check

kapi term-check [files...]

Terminology Check

Commandexec term-check
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 exec term-check app.xliff --source-lang en --target-lang fr
Flags
FlagTypeDefaultDescription
--case-sensitiveboolfalseWhether term matching is case-sensitive
--concurrency, -jint0max parallel files (0 = auto)
--encoding, -estringcharset the input is read in; a byte-order mark in the file wins (default: the project's defaults.encoding, then UTF-8)
--enginestringformat engine for detected files: native or a plugin name (default: native, then plugins)
--fail-on-unknownboolfalseexit with error if any file cannot be processed (default: skip with warning)
--format, -fstringoverride input format detection
--jsonboolfalseoutput results as JSON
--map, -mstringArraymap glob pattern to format (e.g. '*.docx=okf_openxml:test')
--no-warnboolfalsesuppress warnings for skipped files
--packboolfalsewhen transforming a .kpz, also eject the result to the .kpz (auto-pack)
--parallel-blocksint0fan out block processing across N goroutines (0 = off)
--progressboolfalseshow progress bar
--project, -pstringpath to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted)
--source-langstringsource language (e.g. en, en-US; defaults to the project's source_language, else en)
--strictboolfalsealias for --fail-on-unknown
--targetstringthe translation of the one source file named, in --target-lang, to check it against (a file that holds both, such as XLIFF, needs none)
--target-langstringtarget language (e.g. fr, de-DE); one per run
--term-rulesstringYAML or JSON file of term rules to check against instead of the project's terms store: a `term_rules:` list of {term, replacement}, the shape the MCP tool takes
--termstorestringnamed terms or path to a terms store (defaults to the project terms store)
--tracestringwrite flow trace JSON to file (for flow visualization)
More examples
kapi exec term-check messages.json --source-lang en --target-lang fr

← Back to the Command Reference