Dunno whats wrong. Can someone help me?
Thats how I’m setting the language:
$i18nDataPath=$yiiFilesDir.'framework'.DIRECTORY_SEPARATOR.'protected'.DIRECTORY_SEPARATOR.'messages';
$app = Yii::createWebApplication($config);
$languageParts = explode('_', Yii::app()->request->preferredLanguage);
$app->setLocaleDataPath($i18nDataPath);
$app->setLanguage($languageParts[0]);