title: Yii1 web application change the language by itself
body: <p>I'm working on yii1 web application, i will mention  my problem  in  simple way: 
  i have home  view page,  i have created url  as the following :</p>
  
  <pre><code> &lt;a href="&lt;?php echo  yii::app()-&gt;createUrl('home/Test') ; ?&gt;"&gt;link&lt;/a&gt;
  </code></pre>
  
  <p>in my Home controller i have  this simple  code : </p>
  
  <pre><code> public  function actionTest(){
          var_dump(Yii::app()-&gt;language) ;
           exit() ;
   }
  </code></pre>
  
  <p>my project  supports two languages  Arabic  and English, 
  when user change language  between Arabic and English , every  thing is working fine, layout , language and every thing except the  previous code.
  after user  change  the  language if he click  on  previous link the  result will be EN whatever  the language  of app, if Arabic  or English, after var dumping the  language. and please note that every  link in the app was  created in the same way and it's  working fine except  this link  . why ?</p>
  
  <p>any one  can advise  me  please  ?      </p>