Hi,

On 2010-05-29, Michael A. Smith <[email protected]> wrote:
> Products.CompoundField is a dep of on of our products, and hasn't been 
> updated for Plone 4. I don't think the original developers are working on it 
> anymore, so I thought I'd take a crack at it, but I've hit a snag, and would 
> appreciate any help you can give to get this thing running.
>
> The full traceback is at http://plone.org/products/compoundfield/issues/22

The traceback indicates i18n is gone, and so it is in 1.6. If you look at 
generator/i18n.py in 1.5 at
the very top you will see this:

    from Products.Archetypes.debug import deprecated
    deprecated('generator.i18n is deprecated and will be removed in Archetypes 
1.6.'
               'If your product uses PTS or Localizer use the translate method 
of '
               'the GlobalTranslationService instead. Usually you should simply 
do '
               '"from zope.i18n import translate" and use that method.')

So in other words, change that import to:

    from zope.i18n import translate

Alex

> Best wishes,
> Michael A. Smith
> Web & Digital / Academic Technologies Manager
> Nazareth College


-- 
Alex Clark · http://aclark.net
Author — Plone 3.3 Site Administration · http://aclark.net/admin

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to