Since zope.i18n 4.5.0 [1] and zope.i18nmessageid 4.3.0 [2] we have support for plural messageids and default translations.
It works like this:
items = [1, 2, 3]
title = _(
"example_title",
default="This is my example title."
msgid_plural="example_title__plural",
default_plural="This are my example titles."
number=len(items),
)
Since zope.i18n 4.5.0 [1] and zope.i18nmessageid 4.3.0 [2] we have support for plural messageids and default translations. It works like this:
i18ndude cannot extract the plural forms yet.
[1] https://github.com/zopefoundation/zope.i18n/issues/5 [2] https://github.com/zopefoundation/zope.i18nmessageid/blob/master/src/zope/i18nmessageid/message.py#L108