[Zope] i18n/L10n support in zope2

harshad behere hbehere at zeomega.com
Wed Apr 9 08:57:52 EDT 2008


Dear list members,

I am newbie/begineer in area of zope2 + i18n/L10n so please excuse me if 
this topic has already been discussed on the list, in that case can some 
one please point me to the past discussions/threads.

After reading some basics about i18n+zope2, I have tried following - 
(zope version - Zope 2.9.7-final, python 2.4.4, win32
and Placeless Translation Service - 1.3.7)

Created simple page template -
<html>
<body>
<span i18n:domain="PlacelessTranslationService" i18n:translate="Reload 
this catalog">
Reload this catalog
</span>
</body>
</html>
 
Modified language preferences for browsers - (Mozilla Firefox 2.0.0.4 
and MS-IE 7.0.5730.11) to set German [de] as primary langage.

When I viewed above page in firfox got the corresponing german 
translation (Diesen Katalog neu einlesen) as specified in related .po 
file.  But with MS-IE, no luck, gives same string - Reload this catalog

So is it browser specific/dependable ?

Another thing I tried is adding attribute i18n:target="cs", but it seems 
to have no effect, firefox gives german translation as per language 
settings as MS-IE gives same string - Reload this catalog

Does it means that attribute target is not supported ? Is there any 
list/documentation about supported i18n attributes ?

Also I was not able to find references/examples for DTML, does DTML 
supports i18n/L10n ?

Any help/suggestions/pointers would be of great help.

Thanking you,
Harshad. 


More information about the Zope mailing list