Browse Source

Update tutorial-i18n.md

tags/2.0.16
cuiliang 7 years ago committed by GitHub
parent
commit
e77bce4515
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/guide-zh-CN/tutorial-i18n.md

2
docs/guide-zh-CN/tutorial-i18n.md

@ -124,7 +124,7 @@ echo \Yii::t('app', 'This is a string to translate!');
#### 3. 让译员翻译消息并将它们存储在消息源中(Let the translators translate messages and store them in the message source(s))
The [[yii\i18n\PhpMessageSource]] 类使用PHP文件和一个简单的 PHP 数组来存储消息转换。
[[yii\i18n\PhpMessageSource]] 类使用PHP文件和一个简单的 PHP 数组来存储消息转换。
这些文件包含 `源语言` 中的消息到 `目标语言` 中的翻译的映射。
> Info: 您可以使用 [`message` 命令](#message-command) 自动生成这些 PHP 文件,

Loading…
Cancel
Save