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

FreeBSD Manual Pages

  
 
  

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

NAME
     md2po.py - Convert Markdown files to Gettext PO localization files.

SYNOPSIS
     md2po.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] [--dupli-
     cates  DUPLICATESTYLE]  [--multifile  MULTIFILESTYLE]   [-m|--maxlinelength
     MAXLENGTH] [--no-code-blocks] [--no-frontmatter] [--no-placeholders]

DESCRIPTION
     See:      http://docs.translatehouse.org/projects/translate-toolkit/en/lat-
     est/commands/md2po.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 markdown, md, text, txt 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)

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

     -m/--maxlinelength
	    wrap PO output so quoted string content is at most MAXLENGTH charac-
	    ters. set to 0 to disable

     --no-code-blocks
	    do not extract code blocks for translation

     --no-frontmatter
	    do not extract front matter for translation

     --no-placeholders
	    render inline elements (links, images, autolinks, HTML spans) verba-
	    tim  in  translation units instead of replacing them with {n} place-
	    holder markers

			    Translate Toolkit 3.19.13		     md2po.py(1)

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

home | help