To get current language:
$lang = Yii::app()->language;
To set current language:
Yii::app()->language = ‘en’;
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.