ZF-11568: Whatever setted on locale, always translate to Italian

Description

We are using the Zend_Extra repository and the Translate to do the translation based on the files from that repository. Whatever is set to "locale" he always translate to Italian. The instantiation code used is as follows:

$translateValidate = new Zend_Translate( 'array', APPLICATION_PATH . '/../library/Zend-Extra/resources/languages/', $locale, array('scan' => Zend_Translate::LOCALE_DIRECTORY) );

Comments

Issue introduced by ZF-11546

This issue is now fixed by r24268.

Thanks a lot for the report.

Fixed implementation with GH-259 See ZF-11546 for details