ZF-11593: The validation of the message returns a different locale.

Description

On example:

$language = "pt_BR";

$translator = new Zend_Translate( array( 'adapter' => 'array', 'content' => '/MYFOLDER/resources/languages', 'locale' => $language, 'scan' => Zend_Translate::LOCALE_DIRECTORY ) ); Zend_Validate_Abstract::setDefaultTranslator($translator);

When I validate the error message is returned from another locale.

Comments

This issue is already fixed by commit r24268

It's working perfectly now.

Thanks!

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