Manual calls to translate
If you have any of these imports, you cannot use them anymore:
Products.CMFPlone.utils.utranslate Products.PageTemplates.GlobalTranslationService.getGlobalTranslationService
Instead you need to use zope.i18n.translate directly. See this example changeset from Poi.
The tricky thing here is that the order of the arguments has changed so you probably need some more changes. The old call signature was this:
utranslate(domain, msgid, mapping=None, context=None,
target_language=None, default=None)
And the new is this:
translate(msgid, domain=None, mapping=None, context=None,
target_language=None, default=None)
So:
- msgid is now the first instead of the second call
- domain is now optional

