Ivan Sagalaev wrote: > Sure. This whole pluralization problem can be divided into two: > > 1. Enhance pluralization filter to accept language specific set of > terminations and peek the right one by language-dependent algorithm. > There a human is responsible for providing the exact values for > pluralization forms and this task, in my opinion, is perfectly doable > and should be done within Django. > > 2. Automatic pluralization of any (or most) words. This one is requiring > a vocabulary and is a big task in itself. > ....
By the way, the recently added changeset 3272 (http://code.djangoproject.com/changeset/3272) allowed customizing of the pluralization output. EG: You have {{ num_cherries }} cherr{{ num_cherries|pluralize:"y,ies" }}. I'd gag at automatic pluralization attempts. This seems fine for me. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---

