R: [Zope] Re: [Zope-Annce] Localized DateTime classes

svedovelli spinwing@inwind.it
Mon, 19 Mar 2001 21:36:01 +0100


This is one of the possible problems I am facing. The basic idea that I
would like to implement is: if the whole site is in a specific language,
then the designer should be able to provide the DateTime with the proper
translation. I am planning to use a ZClass to achieve this.

Ciao!
Stefano

-----Messaggio originale-----
Da: hannu@m72.tm.ee [mailto:hannu@m72.tm.ee]Per conto di Hannu Krosing
Inviato: lunedi 19 marzo 2001 10.47
A: Oleg Broytmann
Cc: svedovelli; Zope Mailing List
Oggetto: Re: [Zope] Re: [Zope-Annce] Localized DateTime classes


Oleg Broytmann wrote:
>
> Hi!
>
>    Nice...
>
> On Sun, 18 Mar 2001, svedovelli wrote:
> > French, but I plan in future to create a more sophisticated version
which
> > will try to guess in which country the system is running in order to
return
> > the proper translation.
>
>    ...but why guess? Just use locale settings!

How do you get locale settings from HTTP client ?

-------------------
Hannu