2013-05-09, 00:38:41
(2013-05-08, 23:02:44)jesusda Wrote: CHANGING LANGUAGE
I have a web with two languages: ES and EN.
The default language is ES, but I have made some links to allow users to change the languaje easily adding ?lang=en to the url.
It works fine and allow switch language, but when the user clic on a menu entry (or any internal link), the ?lang=en dissapears and the languaje return to the default one.
?lang=en is used to temporarily change the language for this page. If you want to set the language for the current session, use ?setlang=en.
This will only work, if you don't include the language in your fancy URL.