po2odf(1)
β¨ 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 inpo,potformats. 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 inodc,odf,odg,odi,odm,odp,ods,odt,otc,otf,otg,oth,oti,otp,ots,ottformats. sixteen formats, one queen. π-t/--templateβ read from TEMPLATE inodc,odf,odg,odi,odm,odp,ods,odt,otc,otf,otg,oth,oti,otp,ots,ottformats. 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/--templateand-o/--outputboth 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
- 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