Gå til hovedinnhold

kapi tm export

kapi export

Export 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.

Commandtm export
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 export
Flags
FlagTypeDefaultDescription
--filestringexplicit path to resource file
--formatstringautooutput format (auto, tmx, klftm); auto selects by the -o extension
--localboolfalseuse resource in current directory
--localesstringcomma-separated locale subset (default: all variants present)
--namestringnamed resource in KAPI_HOME (e.g. --name project-terms)
--output, -ostringoutput file (default: stdout)

← Back to the Command Reference