Hi,
I'm using getext in order to translate the whole 1.10 Zend application
including forms through a controller plugin. Everything is working fine, the
translate resource is saved in the registry using default name convention
but, now, I'm working on the server side validation (after js validation)
and trying to translate error messages from validators using the array
adapter.
I use the code that appear in the manual:
$translator = new Zend_Translate(
'array',
'../resources/languages',
'es',
array('scan' => Zend_Translate::LOCALE_DIRECTORY)
);
Zend_Validate_Abstract::setDefaultTranslator($translator);
I've got the "es" resource language in the correct directory, but all my
messages is showing itself in english all the time.
How can I use the getext and array adapters to accomplish my needs.
Thanks in advance.
--
View this message in context:
http://n4.nabble.com/getext-and-array-adapters-tp1680717p1680717.html
Sent from the Zend Framework mailing list archive at Nabble.com.