bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: hu.po ngettext fixes


From: Gabor Kelemen
Subject: Re: hu.po ngettext fixes
Date: Wed, 16 Aug 2006 22:14:03 +0200
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)

Paul Eggert írta:
In the thread rooted at
<http://lists.gnu.org/archive/html/bug-coreutils/2006-08/msg00082.html>
Koblinger Egmont <address@hidden> writes:

What is the correct approach if the number isn't presented in the string, as
in his "This item" vs. "These items" case? Should ngettext be used in this
case? Or this piece of code a good programming approach:
if (n == 1) printf(_("This item...")); else printf(_("These items..."));  ?

That's a tricky question, so I'll forward this email to the gettext
maintainer.
This could be fine for languages with at most two plural forms, but there are some with more, so this is not acceptable. See also:
http://developer.gnome.org/doc/tutorials/gnome-i18n/developer.html#plurals


Regards

Gabor Kelemen






reply via email to

[Prev in Thread] Current Thread [Next in Thread]