po2html(1)

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

πŸ’– 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 in po, pot formats. 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 in htm, html, xhtml formats. the final reveal ✨
  • -t, --template β€” reads from TEMPLATE in htm, html, xhtml formats. 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, --fuzzy and --nofuzzy are 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