Convert between TermBase eXchange (.tbx) glossary format and Gettext PO format.


tbx2po <tbx> <po>



is a TBX file


is the target PO file

Options (tbx2po):


show program’s version number and exit

-h, --help

show this help message and exit


output a manpage based on the help


show progress as: dots, none, bar, names, verbose


show errorlevel as: none, message, exception, traceback

-i INPUT, --input=INPUT

read from INPUT in csv format

-x EXCLUDE, --exclude=EXCLUDE

exclude names matching EXCLUDE from input paths

-o OUTPUT, --output=OUTPUT

write to OUTPUT in tbx format

-S, --timestamp

skip conversion if the output file has newer timestamp


These examples demonstrate the use of tbx2po:

tbx2po terms.tbx terms.po

to simply convert terms.tbx to terms.po.

To convert a directory recursively to another directory with the same structure of files:

tbx2po tbx-dir po-target-dir

This will convert TBX files in tbx-dir to PO files placed in po-target-dir.


For conformance to the standards and to see which features are implemented, see PO Files and TBX.