po2odf(1)

πŸ“¦
version 3.19.5 Β· 3 versions
, in ubuntu stonking

✨ po2odf β€” it's giving "PO files but make them fancy documents" πŸ’…

okay so bestie, real quick: this is a page from the Translate Toolkit (version 3.19.5, iconic), and it's all about a lil command called po2odf. Buckle up, it's actually so good.


🌸 NAME 🌸

po2odf β€” the girl whose whole job is converting Gettext PO localization files into OpenDocument (ODF) files. no cap. that's it, that's the gig. πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

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

like yes she takes all of those. she's a main character, she's got options. 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so the tea is: this converter literally smooshes together the functionality of po2xliff and xliff2odf so you can go from PO files straight to ODF files in one glow-up. no middleman, no extra steps, direct conversion, periodt. ✨

See: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/ for examples and usage instructions. <- go look, there's literally so much there, iykyk πŸ“š


πŸ’… OPTIONS πŸ’…

okay this is the part where we go one by one, and yes i'm doing every single one, because we don't skip. ever.

  • --version β€” shows the program's version number and then peaces out. exit stage left. πŸ‘‹
  • -h/--help β€” shows this help message and exits. your classic "bestie explain yourself" button. πŸ™ˆ
  • --manpage β€” outputs a manpage based on the help. meta? a little. iconic? absolutely. πŸ‘‘
  • --progress β€” shows progress as one of: dots, none, bar, names, verbose. pick your vibe, she'll keep you posted. πŸ“Š
  • --errorlevel β€” shows errorlevel as one of: none, message, exception, traceback. how much drama do you want when things go sideways? your call. πŸ’€
  • -i/--input β€” read from INPUT in po, pot formats. the source material, the moment, the whole point. πŸ’–
  • -x/--exclude β€” exclude names matching EXCLUDE from input paths. sometimes you gotta be a little selective, and that's valid. 🚫
  • -o/--output β€” write to OUTPUT in odc, odf, odg, odi, odm, odp, ods, odt, otc, otf, otg, oth, oti, otp, ots, ott formats. sixteen formats, one queen. 🌈
  • -t/--template β€” read from TEMPLATE in odc, odf, odg, odi, odm, odp, ods, odt, otc, otf, otg, oth, oti, otp, ots, ott formats. same list as output, because she likes to match. ✨
  • -S/--timestamp β€” skip conversion if the output file has a newer timestamp. she checks the vibes before redoing work. smart girl behavior honestly. 🧚

tiny heads-up from your girl: -t/--template and -o/--output both take that exact same big ol' list of ODF-ish formats (odc, odf, odg, odi, odm, odp, ods, odt, otc, otf, otg, oth, oti, otp, ots, ott) β€” copy them exactly, don't be out here freelancing with format names. πŸ’œ

and that's the whole page bestie, every flag, every format, every crumb. nothing skipped, nothing invented. slay. πŸŽ€

πŸŒΈπŸ’– with love from the Translate Toolkit 3.19.5 era πŸ’–πŸŒΈ

πŸ“¦ where this page comes from