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 Installation ============ tar xvzf gettext-0.10.35-kde.tar.gz cd gettext-0.10.35-kde ./configure make 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].