Joerg Heinicke <[EMAIL PROTECTED]> wrote:
>
> > Depending on browser settings webapp pushes to client
> > appropriate language version at the same url of each page
> > otherwise (if not found specific translation) sends
> > default one (polish). At any url one can change lang ver by
> > forcing different locale settings as a request parameter.
 
> Unfortunately the URLs don't have the request parameter per default.
> When serving to this page and switching to German with the next click
> my preference is lost and I get the Polish pages again.

:-)
As far as I understood idea of LocaleAction, request parameter
is not necessary in every request (thanks god;), as each request
seeks language parameter in such order (my understanding):
1. forced request ?locale=xx
2. language stored as session attribute (if set before)
3. user-agent accept-language headers
If 1. nor 2. is set, action starts a session based on 3.

So, I you looses your language settings between pages
it's almost for sure because you're one of a very, very few
people who made their browser not accept any cookies,
even a session ones! ;)

I know I could (or even should!) do encodeURL transformation
setep before serialization.. but I really consider
sessionsid' in URL as _evil_ :)

> But it's a cool design.
> Will add it to CVS, website will be updated with the 2.1.5 release.

Thx twice ;)

-- 
Tomasz Nowak
  Netventure, http://www.netventure.pl/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to