pomigrate2
Like pomigrate, pomigrate2 aims to move an existing translation to a new
version based on updated PO Tempalte files. However, pomigrate2 will do this
auotmatically with no user intervention. Therefore it is ideal when you are
migrating many languages or migrating from related but divergent products eg
Mozilla to Firefox. If you need control over the migration use pomigrate.
Prerequisites
GNU Gettext:
msginit
msgcat
msgmerge
Usage
pomigrate
where:
from - is a directory of existing PO files
to - is the directory where the migrated PO files will be stored
templates - this is the dorectory that contains the PO Template files
Operation
pomigrate2 makes use of the Gettext tools msgmerge to perform its task. It
firstly find all files with the same name in the directory msgcat's
them and copies them to their correct destination(s) in teh directory.
Then msginit is used to initialise any missing PO files. Lastly, a compendium
of all the translations in is created and merged into using msgmerge.
Bugs
None known