Hi Edgar,

You must set the translator you use in the Registry why the key Zend_Translate like that :
$translator = new Zend_Translate( ... );
Zend_Registry::set('Zend_Translate', $translator);

You can see the involved code in Zend_Validate_Abstract at the bottom (getDefaultTranslator).

Baptiste.

Edgar da Silva (Fly2k) a écrit :
Hi all!

Why messages of validators are not between translate methods _() or
->translate()?

Cause they aren't, I cant use one software to extract the strings.

Reply via email to