zope.i18n plural form support

Thomas Massmann <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
Hi,

I added the plural form support (see a corresponding ticket here: 
https://bugs.launchpad.net/zope.i18n/+bug/161985) in a separate branch: 
https://code.launchpad.net/~thomas-massmann/zope.i18n/plural. This code 
was mainly implemented during the 2012 Plonekonf in Munich.

It is already in "production" since 3 months in a project I'm developing 
right now. Please note that zope.i18nmessageid needs to be taken from 
this branch to work: 
https://code.launchpad.net/~thomas-massmann/zope.i18nmessageid/plural.

Extracting plural messages is supported by xgettext by default. Zope 
tools like i18nduder have to be adjusted (they don't support ungettext 
right now). I already adjusted lingua by Wichert Akkerman 
(https://github.com/tmassman/lingua) - the pull request is still open.


Cheers,
Thomas

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.