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

Revision #4 has been created by rainyjune on Oct 9, 2010, 6:24:01 AM with the memo:

update Chinese version link
« previous (#3) next (#5) »

Changes

Title unchanged

How to customize Yii core messages?

Category unchanged

Tutorials

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.cnprojects.ourplanet.tk/node/105)
17 0
17 followers
Viewed: 54 985 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

Revisions

View all history