po2web2py(1)
π po2web2py β like, the manual page bestie
okay so real quick, this page lives in the Translate Toolkit 3.18.0 manual, section 1, and it's all about po2web2py. sit down, grab a strawberry π, we're doing this.
β¨ NAME β¨
po2web2py β converts GNU/gettext PO files into web2py translation dictionaries (.py). that's it, that's the whole personality π
π¦ SYNOPSIS π¦
po2web2py [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-S|--timestamp] [--threshold PERCENT] [--fuzzy]
[--nofuzzy]
like, that's the whole vibe check in one block β¨
πΈ DESCRIPTION πΈ
okay so the actual tea β on examples and usage instructions? it's over here:
http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/web2py2po.html
go look, iykyk. that's the page they're pointing you at, no cap. π
π OPTIONS π
here's where it gets iconic, every single flag, no skipping, periodt:
--versionβ shows the program's version number and then dips out. bye π-h/--helpβ prints this help message and exits. the classic.--manpageβ spits out a manpage built from the help. manpage-ception fr fr π--progressβ shows progress, and you pick the flavour:dots,none,bar,names,verbose. choose your fighter π--errorlevelβ how loud do you want the errors? options are:none,message,exception,traceback. pick your drama level π-i/--inputβ reads from INPUT inpo,potformats. feed it π₯-x/--excludeβ excludes names matching EXCLUDE from the input paths. not today, file π«-o/--outputβ writes to OUTPUT inpyformat. glow up complete β¨-S/--timestampβ skips the conversion if the output file has a newer timestamp. if it's fresher than you, it's not doing the work π--thresholdβ only converts files where the translation completion is above PERCENT. so if it's not translated enough? not invited to the party π--fuzzyβ uses translations marked fuzzy. yes, even the messy ones π«Ά--nofuzzyβ doesn't use translations marked fuzzy. this one's the default, bestie, so that's what you get if you say nothing π
lowkey important: --nofuzzy is the default. if you want the fuzzy ones you gotta ask, okay? π
and that's the whole page!! every flag, every value, every default, all present and accounted for, we ate and left no crumbs ππ
this was brought to you by the Translate Toolkit 3.18.0 β mwah, kiss the version number for me π
stay slay, go convert some PO files, and remember: fuzzy is opt-in π§β¨
π¦ where this page comes from
- fedora 44: translate-toolkit 3.18.0-2.fc44 Β· 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