[Zope] i18n: how to use it in zpt's without CMF&Plone?

Elena Schulz elena.schulz at gmx.net
Tue Sep 16 05:05:21 EDT 2003


Hi,

how to use i18n (with Localizer) in zpt's without CMF&Plone? (State of the
Art?)
Is something like:
<span i18n:translate="string:my_message" >
 You are here:
</span>
possible? (zope 2.6.2 or 2.7. without CMF&Plone)

I found info about the use together with CMF/Plone but nothing without and I
know how to use it this way:
<span tal:replace="python: here.Localizer.i18n('my_message:')"
 tal:omit-tag="">
 Sie sind hier:
</span>
But I would prefer the i18n:namespace-syntax and flexibility. May be
patching zope is an option for that?

-- Any hints would be great, Elena






More information about the Zope mailing list