[Zope-CMF] Internationlisation question

Doyon, Jean-Francois jdoyon at NRCan.gc.ca
Mon Jan 8 10:59:00 EST 2007


Zope 3 provides all sorts of localization functionality, including numbers, currency and calendaring.

Look in zope.i18n.locales ...

J.F.

-----Original Message-----
From: zope-cmf-bounces at lists.zope.org [mailto:zope-cmf-bounces at lists.zope.org] On Behalf Of Charlie Clark
Sent: January 8, 2007 10:54 AM
To: Lennart Regebro
Cc: Zope-CMF List
Subject: Re: [Zope-CMF] Internationlisation question


Am 07.12.2006 um 12:54 schrieb Lennart Regebro:

>> <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?
>
> This part makes no sense to me:
>   i18n:"data python: DateTime()"
>
> Maybe you meant tal:define="data python: DateTime()" ?

I don't think so. I've been referring to Andy McKay's book on Plone and he lists i18n:data as an part of the specification but maybe this is specific to Plone?

Anyway - what I want to do is have something like

"20th January 2007" in some places and "20. Januar 2007" in others on the same site which has no language settings. What is the best way in going about this?

Thanks

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



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

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


More information about the Zope-CMF mailing list