[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: comments/string changes and issues with dpkg's messages

On 2005-07-26T17:30:00+0300, sparre@nbi.dk wrote:
> Isn't there a feature for handling this problem in GNU
> Gettext?

printf(ngettext("%d file copied", "%d files copied", i), i);

And this ngettext makes its magic so this works in every language
(i.e. there is just right amount of different plural forms in every

More info in GNU gettext info pages.

Tommi Vainikainen

Reply to: