mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 23:09:10 +08:00
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user