Is Clocale Set Automatically In Yii 1.1.14?

Good afternoon!

I have a quick question I haven’t found any information on. I understand Yii::app()->request->getPreferredLanguage() is set automatically from the browser language. Is Yii::app()->locale also set from the browser?

I tried testing this, but it turns out it’s a total nightmare to reliably change your locale/language in a browser.


Yii::app()->locale depends on Yii::app()->language by default