Hlavní navigace

txt2po

." Autogenerated manpage

NAME

txt2po - Converts plain text files to Gettext .po files You can convert back to .txt using po2txt

SYNOPSIS

txt2po [--version] [-h|--help] [--manpage] [--progress PROGRESS] [--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE] [-o|--output] OUTPUT [--psyco MODE] [-P|--pot] [--encoding] [--flavour] [--duplicates DUPLICATESTYLE]

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=PROGRESS
show progress as: dots, none, bar, names, verbose
--errorlevel=ERRORLEVEL
show errorlevel as: none, message, exception, traceback
-iINPUT, --input=INPUT
read from INPUT in *, txt formats
-xEXCLUDE, --exclude=EXCLUDE
exclude names matching EXCLUDE from input paths
-oOUTPUT, --output=OUTPUT
write to OUTPUT in po, pot formats
--psyco=MODE
use psyco to speed up the operation, modes: none, full, profile
-P, --pot
output PO Templates (.pot) rather than PO files (.po)
--encoding=ENCODING
The encoding of the input file (default: UTF-8)
--flavour=FLAVOUR
The flavour of text file: plain (default), dokuwiki, mediawiki
--duplicates=DUPLICATESTYLE
what to do with duplicate strings (identical source text): merge (default), msgid_comment, msgctxt, keep, msgid_comment_all