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:[email protected] | failed
http://www.iomc.de/ | http://blogs.gnome.org/aklapper
_______________________________________________
gnome-i18n mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-i18n