Translation environment4

From Gramps
Revision as of 13:14, 3 October 2012 by Romjerome (talk | contribs) (How it works)
Jump to: navigation, search

This page describes the next translation environment.

Could be used for Gramps 4.0.x.

How it works

python update_po.py -h
python update_po.py --help
  • parser generates a new template and also provides some common features.
    • test flag (-t) will test if 'python' and 'gettext' are properly installed.
  • extract options are everything around extraction for message strings.
    • xml flag (-x) will extract messages from xml based file formats.
    • glade flag (-g) will extract messages from glade file format only.
    • clean flag (-c) will remove created files.
    • pot flag (-p) will create a new catalog.
  • update options are everything around update for translation files.
    • merge flag (-m) will merge lang.po files with last catalog.
    • check flag (-k) will check lang.po files, will try to compile and will also use check_po script.
  • translation options are some informations about translation files.
    • untranslate flag (-u) will list untranslated messages.
    • fuzzy flag (-f) will list fuzzy messages.

Files and directory