-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
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),
)
i18ndude cannot extract the plural forms yet.
[1] zopefoundation/zope.i18n#5
[2] https://github.com/zopefoundation/zope.i18nmessageid/blob/master/src/zope/i18nmessageid/message.py#L108
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels