My site was built with Yii
On desktop: the translation from French to English works perfectly
1- The site first loads Homepage in French
2- then I click on English and instead of a translated Homepage, the script loads another page.
This is the site: www.louerent.ca
Anyone has a suggestion?
- It seems that you are storing the language variable in session, which is wrong. You need to have different url for the same page for different languages. For exammple:
You can write this on Controller.php:
public function beforeAction($action)
elseif($action->id != 'error')
throw new CHttpException(404,'Page not found');
You have errors on your html code. For example, a script tag between head and body.
Your site is not responsive at all.
the cookies should not be an issue in this case, what phone device and browser are you using on your phone