Am Montag, den 17.05.2010, 00:33 +0200 schrieb Wouter Bolsterlee:
> Short note about number/plurals: as far as I know, proper use of ngettext()
> and friends correctly handle this case for all languages. This pattern works
> really well for many language and is used in various Gnome modules:
> 
>   if (n == 1)
>       message = _("There is only a single bar in the foo."));
>   else
>       message = sprintf(ngettext(
>           "There is %d bar in the foo.",
>           "There are %d bars in the foo.",
>           n), n);

I am not sure about this example.
See http://live.gnome.org/TranslationProject/DevGuidelines/Plurals

andre
-- 
 mailto:ak...@gmx.net | failed
 http://www.iomc.de/  | http://blogs.gnome.org/aklapper

_______________________________________________
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n

Reply via email to