html2po(1)
π html2po(1): the HTML-to-PO bestie π
okay bestie, meet html2po from Translate Toolkit 3.12.1 β the little command that converts HTML files to Gettext PO localization files. it's giving localization pipeline glam, no cap. π β¨
πΈ NAME πΈ
html2po β Convert HTML files to Gettext PO localization files. π¦
β¨ SYNOPSIS β¨
html2po [--version] [-h|--help] [--manpage] [--progress PROGRESS]
[--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE]
[-o|--output] OUTPUT [-S|--timestamp] [-P|--pot] [--keepcomments]
[--duplicates DUPLICATESTYLE] [--multifile MULTIFILESTYLE]
π DESCRIPTION π
okay so the docs are literally like: see http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/html2po.html for examples and usage instructions. that's the whole description, bestie β go check the docs for the full tutorial energy. π
π OPTIONS π
--versionβ show program's version number and exit π-h/--helpβ show this help message and exit π«Ά--manpageβ output a manpage based on the help π--progressβ show progress as:dots,none,bar,names,verboseβ¨--errorlevelβ show errorlevel as:none,message,exception,tracebackπ₯-i/--inputβ read fromINPUTinhtm,html,xhtmlformats π-x/--excludeβ exclude names matchingEXCLUDEfrom input paths π-o/--outputβ write toOUTPUTinpo,potformats π-S/--timestampβ skip conversion if the output file has newer timestamp β-P/--potβ output PO Templates (.pot) rather than PO files (.po) π--keepcommentsβ preserve html comments as translation notes in the output π--duplicatesβ what to do with duplicate strings (identical source text):merge,msgctxt(default:'msgctxt') π--multifileβ how to split po/pot files (single,topleveloronefile) π§
π that's the whole page, bestie. source/version energy: Translate Toolkit 3.12.1; manual name: html2po(1). the original footer didn't give a date, so no invented date β just vibes. π
π¦ 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