Difference between #5 and #6 of
How to customize Yii core messages?

Revision #6 has been created by Yang He on Jun 29, 2012, 4:54:42 PM with the memo:

Removed broken link to Chinese translation
« previous (#5)

Changes

Title unchanged

How to customize Yii core messages?

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

core messages, translation, i18n

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://projects.ourplanet.tk/node/105)
17 0
16 followers
Viewed: 67 831 times
Version: 1.1
Category: Tutorials
Written by: qiang
Last updated by: Yang He
Created on: Feb 25, 2009
Last updated: 11 years ago
Update Article

Revisions

View all history