i18n and plural forms?

0 views
Skip to first unread message

mte

unread,
Dec 11, 2006, 3:31:24 PM12/11/06
to TurboGears
Hello,
I'm just looking at ngettext and I can see some benefits of it for
plural forms of words. How would it be possible to use it in a TG
application?
I thought about adding Plural-Forms header in .po files and then using
_=gettext.ngettext. However, this would only work in .py files but what
about everything that is included with tg like kid, formencode,
cherrypy, ... ?
How come it's so rare and nobody is saying anything about ngettext? Are
there any problems with it or what?
Thanks,
matej

Reply all
Reply to author
Forward
0 new messages