Zend Framework

Whatever setted on locale, always translate to Italian

Details

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

Issue Links

Activity

Hide
Thomas Weidner added a comment - - edited

Issue introduced by ZF-11546

Show
Thomas Weidner added a comment - - edited Issue introduced by ZF-11546
Hide
Guilherme Blanco added a comment -

This issue is now fixed by r24268.

Thanks a lot for the report.

Show
Guilherme Blanco added a comment - This issue is now fixed by r24268. Thanks a lot for the report.
Hide
Thomas Weidner added a comment -

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

Show
Thomas Weidner added a comment - Fixed implementation with GH-259 See ZF-11546 for details

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: