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
Posted by Thomas Weidner (thomas) on 2011-07-16T07:03:47.000+0000
Issue introduced by ZF-11546
Posted by Guilherme Blanco (guilhermeblanco) on 2011-07-25T14:54:59.000+0000
This issue is now fixed by r24268.
Thanks a lot for the report.
Posted by Thomas Weidner (thomas) on 2011-07-26T15:37:27.000+0000
Fixed implementation with GH-259 See ZF-11546 for details