Difference between #2 and #3 of
How to customize Yii core messages?

Revision #3 has been created by rainyjune on Jun 16, 2010, 2:32:58 AM with the memo:

add Chinese version
« previous (#2) next (#4) »


Title unchanged

How to customize Yii core messages?

Category unchanged


Yii version unchanged

Tags unchanged

Content changed


Finally, we put message translations in the `yii.php` file. To save time, we may simply copy the content from `framework/messages/de/yii.php` and modify it as needed.

> Tip: You may wonder why we would take so much trouble in order to customize the core messages. Why don't we modify the file `framework/messages/de/yii.php` directly? The answer is that you should never modify any core framework file. If you do that, you will face the danger that a future upgrade of the framework may overwrite your change.

### Links
[Chinese version](http://dreamneverfall.cn/node/105)
17 0
Viewed: 54 989 times
Version: 1.1
Category: Tutorials
Written by: qiang
Last updated by: Yang He
Created on: Feb 25, 2009
Last updated: 5 years ago
Update Article


View all history