Hi.

You can put your value using Zend_Translate
for instance:

$translate = new Zend_Translate('array', APPLICATION_PATH .
'/configs/lang/'. $locale . '.php' , $lang);

in my it_IT.php

return array(
    /* VALIDATORS */
    Zend_Validate_NotEmpty::IS_EMPTY       => 'Il campo è obbligatorio e non
può essere vuoto'/*Value is required and can\'t be empty*/, etct etc etc

You can find the keys at 

http://framework.zend.com/manual/en/zend.validate.messages.html
http://framework.zend.com/manual/en/zend.validate.messages.html 






Chou Ken wrote:
> 
> There is no way to customize the validator messages?
> 
> http://framework.zend.com/manual/en/zend.file.transfer.validators.html
> the doc said:"Upload: This validator is internal. It checks if an
> upload has resulted in an error. You must not set it, as it's
> automatically set by Zend_File_Transfer itself. So you do not use this
> validator directly. You should only know that it exists. "
> 
> 
> 
> 
> 青青子衿,悠悠我心
> 
> 

-- 
View this message in context: 
http://old.nabble.com/There-is-no-way-to-customize-the-validator-messages--tp26369321p26369713.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to