[Zope] Re: InternationalObjects-0.4
Fri, 12 Oct 2001 07:14:56 -0400
B=FClent Aldemir wrote:
> hi tim,
> do you have a small example for your
> thank you
Make a DTML Document with the following DTML:
and add properties:
en__content: text =3D This is some English content.
fr__content: text =3D C'est le content francais.
Now view the document with your browser set to english and then set to
french. Pretty neat, eh? You can also set a cookie called 'language'
to the appropriate code.
This assumes that 'fr' and 'en' are in the available languages list in
__init__.py (which they are by default).
iterationZERO - www.iterationzero.com