po2oo(1)

πŸ’… po2oo β€” bestie edition

okay so this is po2oo(1), from the Translate Toolkit 3.19.5 era, and it's literally the glow-up artist that takes your Gettext PO localization files and turns them into an OpenOffice.org (SDF) localization file. no cap. 🌸


✨ NAME ✨

po2oo β€” Convert Gettext PO localization files to an OpenOffice.org (SDF) localization file.


✨ SYNOPSIS ✨

po2oo [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]
[-l|--language LANG] [--source-language LANG] [-T|--keeptimestamp]
[--nonrecursiveoutput] [--nonrecursivetemplate] [--skipsource]
[--filteraction ACTION] [--threshold PERCENT] [--fuzzy] [--nofuzzy]
[--multifile MULTIFILESTYLE]

✨ DESCRIPTION ✨

fr fr, the docs said to go here for the tea, the examples, and the actual usage instructions:

http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html

like, that's the whole description. iconic of them honestly. 🫢


✨ OPTIONS ✨

here comes the flag parade, bestie β€” every single one, no skips, no cuts:

  • --version β€” shows the program's version number and then dips. πŸ‘‹
  • -h, --help β€” shows this help message and exits. the classic, the icon, the legend.
  • --manpage β€” spits out a manpage built from the help text. very meta of it. πŸͺž
  • --progress PROGRESS β€” how it flexes its progress: dots, none, bar, names, verbose.
  • --errorlevel ERRORLEVEL β€” how loud it gets about errors: none, message, exception, traceback.
  • -i, --input INPUT β€” reads from INPUT in po, pot, xlf, xliff formats.
  • -x, --exclude EXCLUDE β€” skips any names matching EXCLUDE from the input paths. not me filtering my exes πŸ’€
  • -o, --output OUTPUT β€” writes to OUTPUT in oo, sdf formats.
  • -t, --template TEMPLATE β€” reads from TEMPLATE in oo, sdf formats.
  • -S, --timestamp β€” skips the conversion entirely if the output file already has a newer timestamp. lowkey respectful of your time.
  • -l, --language LANG β€” sets the target language code, like af-ZA. this one is required β€” no skipping it, bestie, she's mandatory. πŸ‘‘
  • --source-language LANG β€” sets the source language code. default is en-US.
  • -T, --keeptimestamp β€” does NOT change the timestamps of the strings. leave them exactly as you found them, queen. πŸ’…
  • --nonrecursiveoutput β€” doesn't treat the output oo as a recursive store.
  • --nonrecursivetemplate β€” doesn't treat the template oo as a recursive store.
  • --skipsource β€” doesn't output the source language, but falls back to it wherever it's needed.
  • --filteraction ACTION β€” what to do when pofilter fails: none (the default), warn, exclude-serious, exclude-all.
  • --threshold PERCENT β€” only converts files whose translation completion is above PERCENT. vibe check with numbers. πŸ“Š
  • --fuzzy β€” uses translations marked fuzzy. yes, the messy ones. we love them anyway. πŸ¦‹
  • --nofuzzy β€” does NOT use translations marked fuzzy. this is the default.
  • --multifile MULTIFILESTYLE β€” how to split po/pot files: single, toplevel or onefile.
⚠️ heads up bestie: -l/--language is straight-up required. if you forget it, that's on you, not me. πŸ™ˆ

and that's the whole page, no crumbs left. πŸ’–

this masterclass in translating was brought to you by Translate Toolkit 3.19.5, dated like the original footer said, so shoutout to the version and the date for holding it down. stay slaying those po files, bestie β€” periodt. βœ¨πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from