[Opensource] If not logged in users want to set their Locale
Mike Traum
mtraum at cirnetwork.org
Tue Apr 15 14:14:49 PDT 2003
We do it here by setting the session attribute "expresso.LOCALE", the same
one that expresso uses. Works great!
Did you not want to use cookies? You have to have something to remember
state info if you want to use Struts/Expresso-sytle i18n. In this case, the
session is used - which gives you the option of using cookies or the
jsession querystring parameter.
mike
-----Original Message-----
From: Lirian Ostrovica [mailto:lirian.ostrovica at senecac.on.ca]
Sent: Tuesday, April 15, 2003 1:45 PM
To: opensource at jcorporate.com
Subject: [Opensource] If not logged in users want to set
their Locale
Hi,
If a not logged in (and no session) user wants to get, let
say, the French
version of your i18n-alized web site, you have to send him
a cookie, and/or
provide some kind of your own URL rewriting.
This because the user Locales can only be saved in user
preferences (Expresso)
or in user session (Expresso & Struts).
Has someone come across this before ?
Lirian
_______________________________________________
Opensource mailing list
Opensource at jcorporate.com
http://mail.jcorporate.com/mailman/listinfo/opensource
Archives: http://mail.jcorporate.com/pipermail/opensource/
More information about the Opensource
mailing list