Re: [Zope] Keep track of language.
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).
Dieter
Hi all, Dieter Maurer wrote:
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).
Oh pretty please dont. For language selections, the accept-language: header says all you need. Please dont force the user to make his selection every time on every site :( Regards Tino
On Sun, 11 Mar 2001, Tino Wildenhain wrote:
Oh pretty please dont. For language selections, the accept-language: header says all you need. Please dont force the user to make his selection every time on every site :(
I almost never saw correctly configured browser. Well, probably it's just me. May be I spent too much time hacking instead of listening to user woes :) Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
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
participants (4)
-
Dieter Maurer -
Oleg Broytmann -
Philippe J -
Tino Wildenhain