Feature request: optional ITranslationDomain factory for registerTranslations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 3 |
Won't Fix
|
Undecided
|
Unassigned | ||
zope.i18n |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
It is useful to be able to override the default zope.i18n.
This is currently difficult without monkeypatching zope/i18n/zcml.py's `handler` or forking its `registerTransl
The attached patch adds an optional `factory` argument to both `registerTransl
It might also be worth checking that the object returned by the provided `factory` implements (or can be adapted to?) ITranslationDomain, and preventing startup if it does not.
The <registerTransl
description: | updated |
Changed in zope3: | |
status: | New → Won't Fix |
Changed in zope.i18n: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Now tracked on Github:
https:/ /github. com/zopefoundat ion/zope. i18n/issues/ 8