Next: Updating Existing PO Files, Previous: Making the PO Template File, Up: GNU gettext utilities [Contents][Index]
When starting a new translation, the translator creates a file called LANG.po, as a copy of the package.pot template file with modifications in the initial comments (at the beginning of the file) and in the header entry (the first entry, near the beginning of the file).
Before continuing an existing translation,
after a new release of the package package was made,
the translator updates the file called LANG.po,
with respect to the new package.pot template file,
and adds her name in the Last-Translator field of the header entry.
The easiest way to do so, in either case, is by use of the ‘msginit’ program. For example:
$ cd PACKAGE-VERSION $ cd po $ msginit
The alternative way, without msginit, is as follows:
msgmerge --previous -o lang.new.po lang.po package.pot
and mv lang.new.po lang.po.