hi all
I have a yii application that uses 2 different languages (french and english)
if I use the following URL it works as it should
http://localhost/site2012/index.php?r=site/index&lang=en
but if I type
it goes to the main page but does not recognize the language since it’s not passed in the URL…
it doesn’t even make it to my message file for translation.
how can I set the language by default so that it always has a language defined? or can I just redirect from my index page to a URL including the lang=en or lang=fr?
thanks
Pabs