summaryrefslogtreecommitdiff
path: root/framework/messages/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/messages/config.php')
-rw-r--r--framework/messages/config.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/framework/messages/config.php b/framework/messages/config.php
new file mode 100644
index 0000000..6a1c21e
--- /dev/null
+++ b/framework/messages/config.php
@@ -0,0 +1,21 @@
+<?php
+/**
+ * This is the configuration for generating message translations
+ * for the Yii framework. It is used by the 'yiic message' command.
+ */
+return array(
+ 'sourcePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
+ 'messagePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'messages',
+ 'languages'=>array('zh_cn','zh_tw','de','el','es','sv','he','nl','pt','pt_br','ru','it','fr','ja','pl','hu','ro','id','vi','bg','lv','sk'),
+ 'fileTypes'=>array('php'),
+ 'overwrite'=>true,
+ 'exclude'=>array(
+ '.svn',
+ 'yiilite.php',
+ 'yiit.php',
+ '/i18n/data',
+ '/messages',
+ '/vendors',
+ '/web/js',
+ ),
+);