www.delorie.com/gnu/docs/gettext/gettext_29.html   search  
Buy GNU books!

GNU gettext utilities

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5. Creating a New PO File

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).

The easiest way to do so is by use of the `msginit' program. For example:

$ cd po
$ msginit --verbose

The alternative way is to do the copy and modifications by hand. To do so, the translator copies `package.pot' to `LANG.po'. Then she modifies the initial comments and the header entry of this file.

5.1 Invoking the msginit Program  
5.2 Filling in the Header Entry  

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003