Le dimanche 19 mai 2013 à 06:33 -0700, Marc Egli a écrit : > Sorry for the missing translation tag. Here is an updated version: > https://github.com/frog32/django/commit/8b10363e08e4404a0023da46baee80f2efcb00b5 > > Am Sonntag, 19. Mai 2013 12:21:55 UTC+2 schrieb Marc Egli: > ticket #20455 (https://code.djangoproject.com/ticket/20455) > shows a problem that occurs when using gettext plural without > using the actual number in the string. > > > A solution would be to change these translation to the > following form: > {% if count == 1 %}There is a bug.{% else %}There are many > bugs.{% endif %} > > > Example: > https://github.com/frog32/django/commit/ef389c1f38f937747b278633e9e2b2f943b753c6 > > > Is there any language which doesn't work using these two > separate strings?
I also think that ngettext is designed for defined plurals, so +1 from me. Claude -- www.2xlibre.net -- You received this message because you are subscribed to the Google Groups "Django internationalization and localization" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-i18n+unsubscr...@googlegroups.com. To post to this group, send email to django-i18n@googlegroups.com. Visit this group at http://groups.google.com/group/django-i18n?hl=en. For more options, visit https://groups.google.com/groups/opt_out.