Commit 7870d02e by Alexander Makarov

Merge pull request #2704 from ShNURoK42/patch-3

Update i18n.md
parents 40cb98bb 3c915743
...@@ -97,7 +97,7 @@ language is used. ...@@ -97,7 +97,7 @@ language is used.
`fileMap` specifies how message categories specified in the first argument of `\Yii::t()` are mapped to files when `fileMap` specifies how message categories specified in the first argument of `\Yii::t()` are mapped to files when
`PhpMessageSource` is used. In the example we're defining two categories `app` and `app/error`. `PhpMessageSource` is used. In the example we're defining two categories `app` and `app/error`.
Instead of configuring `fileMap` you can rely on convention which is `messages/BasePath/LanguageID/CategoryName.php`. Instead of configuring `fileMap` you can rely on convention which is `BasePath/messages/LanguageID/CategoryName.php`.
#### Named placeholders #### Named placeholders
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment