po2html(1)
π NAME π
po2html β bestie, this is the one that takes your Gettext PO localization files and uses them to translate your HTML files. literally the glow-up your web pages have been waiting for β¨
π¦ SYNOPSIS π¦
po2html [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]
[--threshold PERCENT] [--fuzzy] [--nofuzzy]
okay so that's the whole vibe in one block, no cap π«Ά
πΈ DESCRIPTION πΈ
You want examples? You want usage instructions? Say less, bestie β the docs live right here:
http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/html2po.html
that's it, that's the description π go read it for the full demo, iykyk
π OPTIONS π
--versionβ shows the program's version number and then dips out, iconic exit behavior β¨-h,--helpβ prints that help message and bounces. your classic "wait what does this do again" button π«Ά--manpageβ outputs a whole manpage built from the help. manpage-ception, we love to see it π--progressβ shows progress as:dots,none,bar,names,verbose. pick your fave little loading aesthetic π₯--errorlevelβ shows errorlevel as:none,message,exception,traceback. how much do you want to know when things go sideways π-i,--inputβ reads from INPUT inpo,potformats. this is your source of truth π-x,--excludeβ excludes names matching EXCLUDE from the input paths. not today, unwanted files π«-o,--outputβ writes to OUTPUT inhtm,html,xhtmlformats. the final reveal β¨-t,--templateβ reads from TEMPLATE inhtm,html,xhtmlformats. gives your output a cute little blueprint π-S,--timestampβ skips conversion if the output file already has a newer timestamp. if it's fresh, we leave it alone, periodt βοΈ--thresholdβ only converts files where the translation completion is above PERCENT. gotta hit that quota bestie π--fuzzyβ uses translations marked fuzzy π«οΈ--nofuzzyβ doesn't use translations marked fuzzy β and heads up, this is the default π
no cap,--fuzzyand--nofuzzyare opposites, so pick one. the default is--nofuzzy, so if you say nothing, fuzzy strings are getting left out π
and that's the whole page, bestie β po2html(1), brought to you by Translate Toolkit 3.12.1 π§ stay slay, keep your PO files close and your HTML closer π
π¦ where this page comes from
- opensuse-leap 16.0: python313-translate-toolkit 3.12.1-bp160.1.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms