On Tue, 2009-01-06 at 10:26 +0100, David Larlet wrote: > Hello, > > I'd just submitted a ticket related to an issue I have for ages but > the decision mainly depends on who is affected by this. Are there > other languages which consider zero as a singular form?
I think that ticket is a bit misguided. The pluralize filter is designed to work for English only, at the moment. It doesn't support multiple plural forms -- languages with more than one plural form for quantities greater than one -- for example. Adding special cases for things like languages where zero is singular leads into "make it support every i18n plural form under the sun" and things get really complicated really quickly. You need a different approach in that case. There's nothing wrong with the goal of supporting plural forms properly, but that's not the pluralize filter. Piecemeal patches to that to support the French but not the Poles will lead to tears. We don't want crying here. I'm thinking about it, but I'm inclined to wontfix that ticket at the moment in favour of somebody coming up with a more comprehensive solution as a separate filter. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django I18N" 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-I18N?hl=en -~----------~----~----~----~------~----~------~--~---
