which is the best place to initialize the Yii::app()->language?
I don't want to initialize in config/main.php because I am going to set that programmatically.
I thought to do that in components/controller.php but I am using a few modules which are not inherit the components/Controller class.
I don't want to initialize in config/main.php because I am going to set that programmatically.
I thought to do that in components/controller.php but I am using a few modules which are not inherit the components/Controller class.