po2xliff(1)

πŸ’– po2xliff(1) β€” the girlies' guide to yeeting PO files into XLIFF πŸ’–

okay so bestie, welcome to po2xliff, part of the Translate Toolkit fam β€” version 3.19.5 if we're being precise, and we are, because precision is the whole vibe here. This little icon takes your Gettext PO localization files and turns them into XLIFF localization files. That's the entire plot. No plot twists. πŸ¦‹


✨ NAME ✨

po2xliff β€” convert Gettext PO localization files to XLIFF localization files. yes that's it that's the job and she does it flawlessly πŸ’…


✨ SYNOPSIS ✨

po2xliff [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]

look at her. all those flags lined up like a little outfit πŸŽ€


✨ DESCRIPTION ✨

okay so the real tea (examples + usage instructions, the whole lore) lives here:

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

yes, that's a link to the xliff2po page β€” that is literally what the manpage says, so I am not touching it, I am simply reporting what I saw. go read it for examples and usage instructions. iykyk 🧚


✨ OPTIONS ✨

every single one of them, no skips, no skims, we stan an exhaustive list πŸ”₯

  • --version β€” show the program's version number and dip out (exit). πŸ‘‘
  • -h/--help β€” show this help message and then exit. the classic.
  • --manpage β€” output a manpage based on the help. very meta of her.
  • --progress β€” show progress as one of: dots, none, bar, names, verbose. pick your aesthetic ✨
  • --errorlevel β€” show errorlevel as one of: none, message, exception, traceback. how much screaming do you want when things go sideways 😭
  • -i/--input β€” read from INPUT in po, pot formats.
  • -x/--exclude β€” exclude names matching EXCLUDE from input paths. goodbye, not you πŸ’€
  • -o/--output β€” write to OUTPUT in xlf, xliff formats.
  • -t/--template β€” read from TEMPLATE in xlf, xliff formats.
  • -S/--timestamp β€” skip conversion if the output file has a newer timestamp. she checks first, she's not doing unpaid labour πŸ’…

no cap bestie: -S/--timestamp means if your output is newer than the source, the conversion gets skipped. it's a "we already did this" check, not a "do it anyway" button. πŸ™ˆ

🫢 that's the whole page 🫢

written by the Translate Toolkit girlies, version 3.19.5, po2xliff(1) β€” and that's on periodt. go convert something pretty. πŸŒΈπŸ’–βœ¨

πŸ“¦ where this page comes from