If you use Zend_Form and also Zend_Translate, core Zend functionality tries to translate options of Zend_Form_Element_Select or any other options of elemenet inherited from Zend_Form_Element_Multi. This is not needed in all cases. To disable translator on the element just call function setDisableTranslator like this:
$element = new Zend_Form_Element_Select('my_element');
$element
->setDisableTranslator(true)
No comments:
Post a Comment