Index of /archives/X/kde/devel/gettext-kde

Icon  Name                       Last modified      Size  Description
[PARENTDIR] Parent Directory - [   ] gettext-0.10.35-kde.tar.gz 2002-03-12 05:15 703K [TXT] README 2003-01-28 06:25 918
This directory contains a version of gettext-0.10.35, patched
for KDE's purposes.

The patch (which can be found in kdesdk/scripts/gettext.patch)
adds support for context translations [i18n("verb", "save");]
and for plural handling [i18n("1 file", "%n files", n);]

Context translation creates a msgid starting with _:
  The comment starts after that, and ends at the first litteral \n
  For instance _:verb\nsave
A plural form creates a msgid starting with _n:
  The singular form starts after that, and the plural form starts after the \n
  For instance _n:1 file\n%n files

tar xvzf gettext-0.10.35-kde.tar.gz
cd gettext-0.10.35-kde

Do NOT run make install after that.
Copy src/xgettext and src/msgmerge to somewhere in your PATH, then run configure
so that it finds it there, and finally run
make -f admin/Makefile.common package-messages
to generate the .pot file[s].