pomerge(1)
π pomerge(1) β the Translate Toolkit glow-up π
okay bestie, sit down, hydrate, because we're talking about pomerge from the Translate Toolkit and it's genuinely a whole vibe. β¨
πΈ NAME πΈ
pomerge β Merges XLIFF and Gettext PO localization files. yes. that's the whole job. it takes your translation files and smooshes them together. slay. π
π SYNOPSIS π
pomerge [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]
[--mergeblanks] [--mergefuzzy] [--mergecomments]
π¦ DESCRIPTION π¦
so here's the tea: a snippet file β the kind that gets produced by, like, pogrep (that's :doc:pogrep </commands/pogrep> if you want the fancy docs reference) β gets handed off to a translator, translated, updated, whatever. and then pomerge takes that snippet file and merges it back into the original files. round trip. reunion tour. the translations come home. π«Ά
See: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/pomerge.html for examples and usage instructions.
fr fr go read that link, it's got the examples and the whole usage walkthrough. no cap.
β¨ OPTIONS β¨
--versionβ show program's version number and exit. quick lil flex and then it's gone. π-h,--helpβ show this help message and exit. the classic. the icon.--manpageβ output a manpage based on the help. yes it generates a manpage. meta? a little. iconic? absolutely. π--progressβ show progress as:dots,none,bar,names,verbose. pick your fave progress aesthetic π--errorlevelβ show errorlevel as:none,message,exception,traceback. how much drama do you want when things go wrong π-i,--inputβ read from INPUT inpo,pot,pot,xlf,xliffformats-x,--excludeβ exclude names matching EXCLUDE from input paths. not like that, bestie β-o,--outputβ write to OUTPUT inpo,pot,pot,xlf,xliffformats-t,--templateβ read from TEMPLATE inpo,pot,pot,xlf,xliffformats-S,--timestampβ skip conversion if the output file has newer timestamp. it's giving "we already have that one at home" π--mergeblanksβ whether to overwrite existing translations with blank translations (yes/no). Default isyes.--mergefuzzyβ whether to consider fuzzy translations from input (yes/no). Default isyes.--mergecommentsβ whether to merge comments as well as translations (yes/no). Default isyes.
β οΈ heads up bestie: those last three all default to yes, so if you don't want blanks, fuzzy stuff, or comments riding along, you gotta say so. nobody's out here guessing for you. π
and that's the whole page, you ate it, you understood it, you're lowkey a localization main character now π
lots of love from Translate Toolkit 3.19.5, and from pomerge(1) itself β mwah, periodt. πβ¨π
π¦ where this page comes from
- ubuntu stonking: translate-toolkit 3.19.5-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms