On 23-11-2005, at 15:49, hugo wrote:
Actually I think that verbose_name_plural should go and instead of
that, an class method for proper pluralization should be added:
class Mystuff(meta.Model):
...
@classmethod
def pluralize(self, n):
return ngettext('singular', 'plural', n)
because otherwise we will allways have this problem with wrong
pluralizations in i18n projects. The current situation only works with
languages where you have singular and plural - but there are many
different concepts of pluralization.
+1 great idea!
---
Nebojša Đorđević - nesh
Studio Quattro - Niš - SCG
http://djnesh.blogspot.com/ | http://djnesh-django.blogspot.com/
Registered Linux User 282159 [http://counter.li.org]