|
NAMEitstool - convert between XML and PO using ITSSYNOPSISitstool [OPTIONS] XMLFILES...itstool -m <MOFILE> [OPTIONS] XMLFILES... itstool -j <XMLFILE> [OPTIONS] MOFILES... DESCRIPTIONitstool extracts messages from XML files and outputs PO template files, then merges translations from MO files to create translated XML files. It determines what to translate and how to chunk it into messages using the W3C Internationalization Tag Set (ITS).To extract messages from XML files XMLFILES and output them to OUT.pot: itstool -o OUT.pot XMLFILES After merging with existing translations or translating strings, generate an MO file with msgfmt(1), then output translated files to the directory DIR: itstool -m OUT.mo -o DIR XMLFILES You can also create a single multilingual XML output file using an input XML file and a set of MO files: itstool -j FILE.xml -o OUT.xml MOFILES ITS definitions are loaded from the built-in rules, rules embedded in the source XML files, files passed with the -i option, and ITS attributes in the source XML files. Later definitions take precedence. You can disable built-in rules by passing the -n option. OPTIONSExtracting
Merging
Joining
Common
AUTHORShaun McCance <shaunm@gnome.org>SEE ALSOMore documentation for itstool is maintained online. For more information, see:http://itstool.org/documentation/
Visit the GSP FreeBSD Man Page Interface. |