Convert a gettext PO Template file to a PO file and merging in existing translations if they are present.
pot2po [options] <pot> <po>
Where:
| <pot> | is a PO Template (POT) file or directory of POT files |
| <po> | is a PO file or a directory of PO files |
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 pot format |
| -xEXCLUDE, --exclude=EXCLUDE | exclude names matching EXCLUDE from input paths |
| -oOUTPUT, --output=OUTPUT | write to OUTPUT in po, pot formats |
| -tTEMPLATE, --template=TEMPLATE | read from TEMPLATE 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) |
add some usage examples
Some message are duplicated during the migration. It doesn’t handle obsoletion of message properly.