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 inpo,pot,xlf,xliffformats.-x,--exclude EXCLUDEβ skips any names matching EXCLUDE from the input paths. not me filtering my exes π-o,--output OUTPUTβ writes to OUTPUT inoo,sdfformats.-t,--template TEMPLATEβ reads from TEMPLATE inoo,sdfformats.-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, likeaf-ZA. this one is required β no skipping it, bestie, she's mandatory. π--source-language LANGβ sets the source language code. default isen-US.-T,--keeptimestampβ does NOT change the timestamps of the strings. leave them exactly as you found them, queen. π--nonrecursiveoutputβ doesn't treat the outputooas a recursive store.--nonrecursivetemplateβ doesn't treat the templateooas 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 splitpo/potfiles:single,topleveloronefile.
β οΈ heads up bestie:-l/--languageis 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
- 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