Issue Type: New Feature Created: 2012-09-18T11:14:34.000+0000 Last Updated: 2012-10-08T20:12:22.000+0000 Status: Closed Fix version(s): Reporter: Reindl Bernd (reindl-bernd) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend\Captcha
Related issues: Attachments:
The localizationfiles in the resourcefolder of the ZF2 package are multiple files (Zend_Validator.php, Zend_Captcha.php). So i can use them only with different textDomains (in my case 'validator' and 'captcha').
To prevent setting the textdomain by each validatorelement i set the default translator and the default tranlatortextdomain by \Zend\Validator\AbstractValidator::setDefaultTranslator($translator, 'validator');
But \Zend\Captcha\AbstractAdapter is a subclass of \Zend\Validator\AbstractValidator and uses the same Domain like AbstractValidator because there is no own implementation for setDefaultTranslator(). Is it possible to implement setDefaultTranslator() and the other static functions to support different domains for validators and Captcha? Or is there an other solution to load multiple languagefiles?
PS: Excuse my bad English :)
Posted by Ralph Schindler (ralph) on 2012-10-08T20:12:22.000+0000
This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit: https://github.com/zendframework/zf2/issues/2594
Have you found an issue?
See the Overview section for more details.