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 in po, pot, xlf, xliff formats. those four, exactly those four, no others πŸ“
  • -x/--exclude β€” exclude names matching EXCLUDE from input paths. not today, bestie 🚫
  • -o/--output β€” write to OUTPUT in mo format. 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