json2po man page

json2po — Convert JSON files to Gettext PO localization files


json2po [--version] [-h|--help] [--manpage] [--progress PROGRESS] [--errorlevel ERRORLEVEL] [-i|--input] INPUT [-x|--exclude EXCLUDE] [-o|--output] OUTPUT [-t|--template TEMPLATE] [-P|--pot] [--filter FILTER] [--duplicates DUPLICATESTYLE]


show program's version number and exit
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
read from INPUT in json format
exclude names matching EXCLUDE from input paths
write to OUTPUT in po, pot formats
read from TEMPLATE in json format
output PO Templates (.pot) rather than PO files (.po)
leaves to extract e.g. 'name,desc': (default: extract everything)
what to do with duplicate strings (identical source text): merge, msgctxt (default: 'msgctxt')