Skip to content

Commit 6ee0e9d

Browse files
Update README.md
1 parent 6ec477b commit 6ee0e9d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@ run
2525
```php
2626
php yii migrate/up --migrationPath=@yii2mod/cron/migrations
2727
```
28+
Please note that messages are wrapped with ```Yii::t()``` to support message translations, you should define default message source for them if you don't use i18n.
29+
```php
30+
'i18n' => [
31+
'translations' => [
32+
'*' => [
33+
'class' => 'yii\i18n\PhpMessageSource'
34+
],
35+
],
36+
],
37+
```
2838

2939
Usage
3040
------------

0 commit comments

Comments
 (0)