Hi,

I'd to use stftime("%d %B %Y") on my website in different locales (de_DE and en_GB) on different parts of the website which is not localised but has some content in German and some different content in English. Somehow I haven't quite grokked Andy McKay's explanation of i18n as the following code throws an error


<span i18n:"data python: DateTime()"
          i18n:translate="datefmt"
          i18n:name="date"></span>

With i18n:name I get an error that i18n:name needs to be within a translation unit and without it I get a cannot iterate over a non- sequence.

So, what I am getting wrong?

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226



_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to