How do you use Zend_Translate with Zend_Form?


A: Either set default in registry (Zend_Registry::set('Zend_Translate', $translate);)
or Zend_Form::setDefaultTranslator($translate);
or $form->setTranslator($translate);
A: If you are only worried about validation messages: Zend_Validate_Abstract::setDefaultTranslator($translate);

BACK
   Zend Framework Version: 1.12.3