I have been trying to localize a yii application. To generate the list of messages, I am trying to use the command - yiic message protected/config/config.php
The operation runs and scans the directory, but doesnot pickup any messages. Only 3 files are generated yii.php, zii.php and editable.php all of which donot contain app labels (only yii strings in english are on those files, whereas the source app is in Russian).
<?php
/**
* This is the configuration for generating message translations
* for the Yii framework. It is used by the 'yiic message' command.
*/
return array(
'sourcePath'=>'C:\xampp\htdocs\csbans',
'messagePath'=>'C:\xampp\htdocs\csbans\protected\messages',
'languages'=>array('fi','zh_cn','zh_tw','ca','de','el','es','sv','he','nl','pt','pt_br','ru','it','fr','ja','pl','hu','ro','id','vi','bg','lv','sk','uk','ko_kr','kk','cs'),
'fileTypes'=>array('php'),
'overwrite'=>true,
'exclude'=>array(
'.svn',
'.gitignore',
'yiilite.php',
'yiit.php',
'/i18n/data',
'/messages',
'/vendors',
'/web/js',
),
);