Somehow i feel like i’ve played with this once, too (with success). But i now tried again with 1.1.3 and different 1.0.x versions. None of them used my protected/messages/de/yii.php. Also tested with different settings for language/sourceLanguage.
It should work if you configure the coreMessages component in your main.php to point to another basePath. This is the default configuration in framework/base/CApplication.php:756
protected function registerCoreComponents()
{
$components=array(
'coreMessages'=>array(
'class'=>'CPhpMessageSource',
'language'=>'en_us',
'basePath'=>YII_PATH.DIRECTORY_SEPARATOR.'messages',
),
Something like Yii::getPathOfAlias(‘application.messages’) should do it. Not tested.
And as i said: Not sure if it also should work by overriding the coremessages in protected/messages/de/yii.php. Maybe it should and we can consider this as a bug