kapi tm export
kapi exportExport the TM to TMX 1.4 (default) or the native .klftm form.
TMX: each entry is written as a single <tu> with one <tuv> per language variant present (or the subset requested via --locales). Inline markup is preserved as TMX <ph>/<bpt>/<ept>/<it>/<hi>. TMX is the lossy interchange tier — entity mappings, provenance origins, properties, and notes are dropped.
klftm (--format klftm, or a -o path ending in .klftm): the deterministic, lossless native serialization — the right form for committing a TM to git and for seeding a fresh TM exactly. --locales does not apply.
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 tm exportFlags
| Flag | Type | Default | Description |
|---|---|---|---|
| --file | string | explicit path to resource file | |
| --format | string | auto | output format (auto, tmx, klftm); auto selects by the -o extension |
| --local | bool | false | use resource in current directory |
| --locales | string | comma-separated locale subset (default: all variants present) | |
| --name | string | named resource in KAPI_HOME (e.g. --name project-terms) | |
| --output, -o | string | output file (default: stdout) |
← Back to the Command Reference