pocompile(1)
π pocompile β bestie edition
okay so pocompile is a manual page from the Translate Toolkit era (version 3.19.5, she's iconic) and she's here to help you squash all your translation files into one tidy little machine-readable blob. pull up a chair, we're doing this together π«Ά
β¨ NAME β¨
pocompile β compile XLIFF and Gettext PO localization files into Gettext MO (Machine Object) files.
likeβ¦ it takes your cute human-ish translation files and turns them into the .mo files that programs actually read at runtime. it's giving β¨glow upβ¨ but for file formats π
π¦ SYNOPSIS π¦
pocompile [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-S|--timestamp] [--fuzzy] [--nofuzzy]
that's the whole vibe right there. every flag, every placeholder, no cap π
π DESCRIPTION π
want examples? want usage instructions? want the whole lore? she's online, bestie:
http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/pocompile.html
no fr, go read it, it's literally right there and it has the examples π
πΈ OPTIONS πΈ
one bullet per flag, because we do NOT skip the boring parts, we simply make them cute π
--versionβ show the program's version number and then dip (exit). π-h/--helpβ show this help message and exit. your girl is helpful like that π--manpageβ output a manpage generated from the help. manpage-ception, we love to see it π--progressβ show progress as:dots,none,bar,names,verbose. pick your fave lil 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,xlf,xliffformats. those four, exactly those four, no others π-x/--excludeβ exclude names matching EXCLUDE from input paths. not today, bestie π«-o/--outputβ write to OUTPUT inmoformat. the final form β¨ the machine object, the moment π-S/--timestampβ skip conversion if the output file has a newer timestamp. she respects a fresh file, lowkey efficient π--fuzzyβ use translations marked fuzzy. they're a little unsure but we believe in them π₯Ί--nofuzzyβ don't use translations marked fuzzy (this is the default, fyi). firm boundaries, periodt π
and that's the whole page, bestie. no gatekeeping, no skipped options, no invented lore β every single flag is right here where you left it π«Ά
pocompile β shipped as part of Translate Toolkit 3.19.5, and this little walkthrough was written by someone who loves you and also loves man pages. now go compile something iconic. ππ
π¦ 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