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

Issue Type: Bug Created: 2011-07-15T14:21:09.000+0000 Last Updated: 2011-07-26T15:37:27.000+0000 Status: Resolved Fix version(s): - 1.11.10 (04/Aug/11)

  • Next Major Release ()

Reporter: ThaĆ­s Bardini Idalino (thais) Assignee: Thomas Weidner (thomas) Tags: - Zend_Translate

Related issues: - ZF-11546



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) );


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

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.