[Zope] Keep track of language.

Philippe J philippejadin2@swing.be
Sun, 18 Mar 2001 11:59:03 +0100


> Pattreeya Tanisaro writes:
>  > i would like to create a homepage which have two languages. If I put
the
>  > language flags in the menu, how can I keep track the language and check
which
>  > language is selected?
> Look for a session product (--> zope.org).

Wouldn't it be better to use two folders like "/en"  "/fr" , and use those
in the links.

For example www.site.com/en/page

The "en" folder contains nothing, but with acquisition, the "page" knows it
must be displayed in english? Or maybe the english folder would simply have
a property called "lang = en".

I'm not sure sessions are mandatory with a multilingual zope.

Philippe