html2po(1)

πŸ“¦ version 3.12.1, in opensuse-leap 16.0

πŸ‘‘ 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 from INPUT in htm, html, xhtml formats πŸ“
  • -x/--exclude β€” exclude names matching EXCLUDE from input paths πŸ™ˆ
  • -o/--output β€” write to OUTPUT in po, pot formats πŸŽ€
  • -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, toplevel or onefile) 🧚

πŸ’– 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