." Autogenerated manpage .TH txt2po 1 "Translate Toolkit 1.0.1" "" "Translate Toolkit 1.0.1" .SH NAME txt2po \- Converts plain text files to Gettext .po files You can convert back to .txt using po2txt .SH SYNOPSIS .PP \fBtxt2po \fR[\fP--version\fR]\fP \fR[\fP-h\fR|\fP--help\fR]\fP \fR[\fP--manpage\fR]\fP \fR[\fP--progress \fIPROGRESS\fP\fR]\fP \fR[\fP--errorlevel \fIERRORLEVEL\fP\fR]\fP \fR[\fP-i\fR|\fP--input\fR]\fP \fIINPUT\fP \fR[\fP-x\fR|\fP--exclude \fIEXCLUDE\fP\fR]\fP \fR[\fP-o\fR|\fP--output\fR]\fP \fIOUTPUT\fP \fR[\fP--psyco \fIMODE\fP\fR]\fP \fR[\fP-P\fR|\fP--pot\fR]\fP \fR[\fP--encoding\fR]\fP \fR[\fP--flavour\fR]\fP \fR[\fP--duplicates \fIDUPLICATESTYLE\fP\fR]\fP\fP .SH OPTIONS .PP .TP \fB--version\fP show program's version number and exit .TP \fB-h\fR, \fP--help\fP show this help message and exit .TP \fB--manpage\fP output a manpage based on the help .TP \fB--progress\fR=\fP\fIPROGRESS\fP\fP show progress as: dots, none, bar, names, verbose .TP \fB--errorlevel\fR=\fP\fIERRORLEVEL\fP\fP show errorlevel as: none, message, exception, traceback .TP \fB-i\fIINPUT\fP\fR, \fP--input\fR=\fP\fIINPUT\fP\fP read from INPUT in *, txt formats .TP \fB-x\fIEXCLUDE\fP\fR, \fP--exclude\fR=\fP\fIEXCLUDE\fP\fP exclude names matching EXCLUDE from input paths .TP \fB-o\fIOUTPUT\fP\fR, \fP--output\fR=\fP\fIOUTPUT\fP\fP write to OUTPUT in po, pot formats .TP \fB--psyco\fR=\fP\fIMODE\fP\fP use psyco to speed up the operation, modes: none, full, profile .TP \fB-P\fR, \fP--pot\fP output PO Templates (.pot) rather than PO files (.po) .TP \fB--encoding\fR=\fP\fIENCODING\fP\fP The encoding of the input file (default: UTF-8) .TP \fB--flavour\fR=\fP\fIFLAVOUR\fP\fP The flavour of text file: plain (default), dokuwiki, mediawiki .TP \fB--duplicates\fR=\fP\fIDUPLICATESTYLE\fP\fP what to do with duplicate strings (identical source text): merge (default), msgid_comment, msgctxt, keep, msgid_comment_all