Changing error Summary

I've created Yii first application.

In contact form, I can't find how to cutomize the error summary messages with my own words.

Error messages are coming from validation rules.

Please check this page on how to customize the error message:


It's work! Thanks…

But… How to customize "Please fix the following input errors:"?

Please check API for CHtml::errorSummary.

I found it in line 1080.

But, have another way to not customize form there? May be it will be hard if we need to make in multiple langguages.


The method allows you customize the header and footer strings. You can use Yii::t() to provide a localized string.