manpagez: man pages & more
info gettext
Home | html | info | man

File: gettext.info,  Node: Template,  Next: Creating,  Prev: Sources,  Up: Top

5 Making the PO Template File
*****************************

   After preparing the sources, the programmer creates a PO template
file.  This section explains how to use ‘xgettext’ for this purpose.

   ‘xgettext’ creates a file named ‘DOMAINNAME.po’.  You should then
rename it to ‘DOMAINNAME.pot’.  (Why doesn't ‘xgettext’ create it under
the name ‘DOMAINNAME.pot’ right away?  The answer is: for historical
reasons.  When ‘xgettext’ was specified, the distinction between a PO
file and PO file template was fuzzy, and the suffix ‘.pot’ wasn't in use
at that time.)

* Menu:

* xgettext Invocation::         Invoking the ‘xgettext’ Program
* Combining POTs::              Combining PO Template Files

© manpagez.com 2000-2026
Individual documents may contain additional copyright information.