ZF-6358: logging not found translations does not work with Zend_Validate, Zend_Form_Element_Multi, Zend_Dojo_Form_Element_DijitMulti
Not found translations are logged in the translators translate() Method if the translations does not exist.
Zend/Validate/Abstract.php, Zend/Form/Element/Multi.php and Zend/Dojo/Form/Element/DijitMulti.php first check if there is an existing translation with isTranslated() and only if theres a translation the translate() Method is called. If the translation does not exist, the translation won't be logged because of the missing call of translate()!
I've two ways to solve this problem:
- change Zend_Validate_Abstract etc. to just call translate() instead of checking if there is an existing translation
- enable logging of missing translations in method isTranslated() in Zend_Translate
Maybe there are more components affected by this issue.