Revision #2 has been created by qiang on Feb 25, 2009, 12:31:38 PM with the memo:
replaced alias with actual directory in basePath property
« previous (#1) next (#3) »
How to customize Yii core messages?
In the above, we specify that the application is targeted to German users and
the translated messages are located under the directory
aliased as `application.messages`. In a default setting, the path alias would refer to the directory `protected/messages`.
Next, we need to provide our translations. Under the directory `protected/messages`, create a subdirectory named `de` which corresponds to the target language we set in the application configuration. And under the `de` directory, create a new file named `yii.php`. To this end, we should have the following directory structure: