Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
html2po.py(1)		    Translate Toolkit 3.19.13		   html2po.py(1)

NAME
     html2po.py - Convert HTML files to Gettext PO localization files.

SYNOPSIS
     html2po.py [--version] [-h|--help] [--manpage] [--progress PROGRESS] [--er-
     rorlevel  ERRORLEVEL]  [-i|--input] INPUT [-x|--exclude EXCLUDE] [-o|--out-
     put] OUTPUT [-t|--template TEMPLATE] [-S|--timestamp]  [-P|--pot]	[--keep-
     comments] [--duplicates DUPLICATESTYLE] [--multifile MULTIFILESTYLE]

DESCRIPTION
     See:      http://docs.translatehouse.org/projects/translate-toolkit/en/lat-
     est/commands/html2po.html for examples and usage instructions.

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

     -t/--template
	    read from TEMPLATE in

     -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)

			    Translate Toolkit 3.19.13		   html2po.py(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=html2po&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help