Path to messages folder is defined by basePath property of CGetTextMessageSource in Yii. Default value for this property is "protected/messages". It can be changed by putting something like following in your main.php config file:
components' => array(
'messages'=>array('basePath'=>'yourPath'),
),