added doc about translating message.

This commit is contained in:
Qiang Xue
2014-01-11 10:35:38 -05:00
parent a12b3d2417
commit 28dbd5acb7
2 changed files with 6 additions and 3 deletions

View File

@ -7,7 +7,7 @@ return [
'messagePath' => __DIR__,
// array, required, list of language codes that the extracted messages
// should be translated to. For example, ['zh-CN', 'de'].
'languages' => ['ar', 'da', 'de', 'es', 'it', 'ja', 'pl', 'pt-BR', 'ro', 'ru', 'sr','sr-Latn', 'zh-CN'],
'languages' => ['ar', 'da', 'de', 'es', 'it', 'ja', 'pl', 'pt-BR', 'ro', 'ru', 'sr', 'sr-Latn', 'zh-CN'],
// string, the name of the function for translating messages.
// Defaults to 'Yii::t'. This is used as a mark to find the messages to be
// translated. You may use a string for single function name or an array for