Products/Five/i18n.zcml uses namespace package in configure package directive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Fix Released
|
Undecided
|
Jens KLEIN |
Bug Description
when using eggified zope.* packages in Zope2 (i.e. for use with singing-dancing or z3c.forms) zope. and zope.app. are namespace packages.
Five uses in its i18n.zcml http://
<configure package="zope.app">
<i18n:
</configure>
which is wrong: zope.app as a namespace has several location. the directory locales cant be found in every case (it maybe found randomly).
solution is to use the full package name zope.app.locales and as directory just a dot:
<configure package=
<i18n:
</configure>
this will work in all cases.
Changed in zope2: | |
status: | Fix Committed → Fix Released |
Please commit the change.