Hi Matthew,
I found another one:
use Zend\I18n\Translator\Translator;
AbstractValidator::setDefaultTranslator(
Translator::factory($this->config['translations']['validator'])
);
Does not work, since AbstractValidator::setDefaultTranslator() expects
the implementation of the Zend\Validator\Translator\TranslatorInterface
which is only implemented by Zend\Mvc\I18n\Translator.
Is this intended to pass the MvcTranslator instance from the
Service-Manager and add the translation texts to it rather than having a
special translator instance for validator messages?
Thanks and best regards,
Ralf
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]