[Zope-CMF] Internationlisation question
Charlie Clark
charlie at begeistert.org
Mon Dec 4 08:01:34 EST 2006
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
More information about the Zope-CMF
mailing list