|
|
@ -15,7 +15,7 @@ In order to start with message translation: |
|
|
|
1. Check `framework/yii/messages/config.php` and make sure your language is listed in `languages`. |
|
|
|
1. Check `framework/yii/messages/config.php` and make sure your language is listed in `languages`. |
|
|
|
2. Go to `framework/yii` and run `yii message/extract messages/config.php`. |
|
|
|
2. Go to `framework/yii` and run `yii message/extract messages/config.php`. |
|
|
|
3. Translate messages in `framework/yii/messages/your_language/yii.php`. Make sure file is saved using UTF-8 encoding. |
|
|
|
3. Translate messages in `framework/yii/messages/your_language/yii.php`. Make sure file is saved using UTF-8 encoding. |
|
|
|
4. Make a pull request. |
|
|
|
4. [Make a pull request](https://github.com/yiisoft/yii2/blob/master/docs/internals/git-workflow.md). |
|
|
|
|
|
|
|
|
|
|
|
In order to keep your translation up to date you may run `yii message/extract messages/config.php` again. It will |
|
|
|
In order to keep your translation up to date you may run `yii message/extract messages/config.php` again. It will |
|
|
|
automatically re-extract messages keeping unchanged ones intact. |
|
|
|
automatically re-extract messages keeping unchanged ones intact. |
|
|
|