Difference between revisions of "Translation environment4"

From Gramps
Jump to: navigation, search
(How it works)
m (How it works)
Line 9: Line 9:
  
 
# ''parser'' generates a new template and also provides some common features.
 
# ''parser'' generates a new template and also provides some common features.
* test flag (-t) will test if 'python' and 'gettext' are properly installed.
+
* test flag (-t) will test if 'python' and 'gettext' are properly installed.
 
# ''extract'' options are everything around extraction for message strings.
 
# ''extract'' options are everything around extraction for message strings.
* xml flag (-x) will extract messages from xml based file formats.
+
* xml flag (-x) will extract messages from xml based file formats.
* glade flag (-g) will extract messages from glade file format only.
+
* glade flag (-g) will extract messages from glade file format only.
* clean flag (-c) will remove created files.
+
* clean flag (-c) will remove created files.
* pot flag (-p) will create a new catalog.
+
* pot flag (-p) will create a new catalog.
 
# ''update'' options are everything around update for translation files
 
# ''update'' options are everything around update for translation files
 
# ''translation'' options are some informations about translation files.
 
# ''translation'' options are some informations about translation files.

Revision as of 06:10, 3 October 2012

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
  1. parser generates a new template and also provides some common features.
  • test flag (-t) will test if 'python' and 'gettext' are properly installed.
  1. 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.
  1. update options are everything around update for translation files
  2. translation options are some informations about translation files.

Files and directory