Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Initialize Language

$
0
0
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.

Viewing all articles
Browse latest Browse all 18717

Trending Articles