forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Jose Pablos <che...@che-che.com>
Subject Re: i18n in Forrest
Date Fri, 03 Oct 2003 09:43:04 GMT
Konstantin Piroumian wrote:
> 
> 
> Won't adding a 'locale=ru' parameter switch the language? AFAIR, you are
> using LocaleAction in menu.xmap, which looks for a parameter first and then
> everything else.
> 

Yes it does, this is the order from o.a.c.acting.LocaleAction.java:


Request CGI parameter "locale"
Session attribute "locale"
First matching Cookie parameter "locale"
within each cookie sent with the current request
Locale setting of the requesting object

(in the case of language, if the above cases do not yield a valid value
the locale value of the server is used)

Cheers,
Cheche


Mime
View raw message