You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When translations from different catalogs are being merged, there is a
workaround to copy the `plurals()` function from the catalog to the combined
`translations` object. If the locale catalog doesn't exist for a
particular domain, a default value is copied, overriding the proper
`plurals()`function. This results in the plural version of a string not
being translated for languages with different plural values.
See for instance `test_gettext.py::test_plurals_different_domains`: the
Japanese locale exists only in the `messages` domain (`translations`
folder) but not on the `myapp` one (`translations_different_domain`
folder).
First reported in ckan/ckan#8258
0 commit comments