Products/Five/i18n.zcml uses namespace package in configure package directive

Bug #228254 reported by Jens KLEIN on 2008-05-08
Affects Status Importance Assigned to Milestone
Zope 2
Fix Released

Bug Description

when using eggified zope.* packages in Zope2 (i.e. for use with singing-dancing or z3c.forms) zope. and are namespace packages.

Five uses in its i18n.zcml a the follwing:

  <configure package="">
    <i18n:registerTranslations directory="locales"/>

which is wrong: 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 and as directory just a dot:

  <configure package="">
    <i18n:registerTranslations directory="."/>

this will work in all cases.

Andreas Jung (ajung) wrote :

Please commit the change.

Changed in zope2:
assignee: nobody → jens-bluedynamics
Jens KLEIN (jensens) wrote :

would like to, but i dont have commit access to zope. I need to chnage this, sure.

Andreas Jung (ajung) wrote :

Create a Five 1.5.8 tag and adjusted the svn externals on the 2.10 trunk

Changed in zope2:
status: New → Fix Committed
Changed in zope2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers