A variety of components are translation aware (i.e., accept Zend_Translate objects), including:

  • Zend_View_Helper_Translate
  • Zend_Validate_*
  • Zend_Form

To have them all use the same Zend_Translate instance, simply place it in the registry with the key "Zend_Translate":

Zend_Registry::set('Zend_Translate', $translate);

Posted in: Zend

Related FAQ's

Marius Ion ANGEL HOT SOFT LLC (800) 316-7677