po2html(1)
π po2html(1) β like, the whole vibe π
okay bestie, gather round π«Ά this is po2html, a lil gem from the Translate Toolkit 3.19.5 era, and she does ONE thing and she does it gorgeously: she takes your Gettext PO localization files and uses them to translate HTML files. Yes literally. PO in, translated HTML out. It's giving bilingual main character energy β¨
β¨ NAME β¨
po2html β translate HTML files using Gettext PO localization files. That's it, that's the whole job, and she ate π
π¦ 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]
no cap, that's the entire invocation. every flag, every argument, exactly as written π
πΈ DESCRIPTION πΈ
Sooo the actual how-to, the examples, the usage instructions β all of that lives in the docs, and the manpage is just gonna point you there like a good big sister:
http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/html2po.html
bestie go read it, the manpage is literally telling you to π (the link says html2po but that's what the original says, so we're keeping it fr fr, character for character, not me editing a manpage π)
π OPTIONS π
every single one. no skipping. we do NOT skip options in this house π
--versionβ shows the program's version number and then dips out. exit stage left π-h/--helpβ prints this help message and then leaves. classic.--manpageβ spits out a manpage built from the help. manpage-ception π--progressβ shows progress, and you get to pick the flavour:dots,none,bar,names,verbose. pick your aesthetic β¨--errorlevelβ sets how loud the errors are:none,message,exception,traceback. from "pretend nothing happened" to "whole entire stack trace on main" π-i/--inputβ read from INPUT, inpo,potformats. this is your translation source, your queen π-x/--excludeβ exclude names matching EXCLUDE from the input paths. not today, file π«-o/--outputβ write to OUTPUT, inhtm,html,xhtmlformats. the glow-up destination π¦-t/--templateβ read from TEMPLATE, inhtm,html,xhtmlformats. the blueprint, the inspo pic π-S/--timestampβ skips the conversion if the output file already has a newer timestamp. if it's fresher than you, she's not touching it π--thresholdβ only converts files where the translation completion is above PERCENT. so like, if it's under the bar, she's simply not participating π--fuzzyβ use translations that are marked fuzzy. go ahead, use the maybe-correct ones, live your truth β¨--nofuzzyβ don't use translations marked fuzzy. this is the default, so if you say nothing, fuzzy ones get left on read π§
ngl,--fuzzyand--nofuzzyare opposites and only one can be your default bestie β and the default is--nofuzzy, periodt.
π«Ά SEE ALSO π«Ά (mentally)
the docs link up in DESCRIPTION, hoe. that's the one the manpage gives you, so that's the one you get π
and that's the whole page, bestie!! you're now fully, completely, no-notes fluent in po2html and honestly? iconic π
this lil love letter was brought to you by Translate Toolkit 3.19.5 β mwah, stan, bye π β¨ π π¦ πΈ π π«Ά π π β π
π¦ 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