ZF2-491: Zend\Validate translations out of date
Description
A couple of issues:
I noticed that the validation message for Zend\Validator\Csrf is missing in the translation files under /resources/languages.
There are messages for a validator Zend_Validate_Ccnum that does not exist in Zf2
The messages for Zend_Validate_CreditCard have changed if I compare them with Zend\Validator\CreditCard
Other issues may also be in there
I guess the whole file needs to be updated and all translation files as well.
Example file: https://github.com/zendframework/zf2/…
Anyway, should the file not be called Zend_Validator.php?
Comments
Posted by Ralf Eggert (ralf) on 2012-08-22T21:12:44.000+0000
What about using the text identifier from the class instead of the message? Example
Instead of using
we could use
Posted by Ralf Eggert (ralf) on 2012-08-22T21:44:29.000+0000
Translations for EmailAddress and Regex Validator also have changed and are not translated anymore.
Posted by Ralf Eggert (ralf) on 2012-08-24T15:01:38.000+0000
Same problem with the messages from Zend\Validate\Db\Abstract
Posted by Ralph Schindler (ralph) on 2012-10-08T20:14:54.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/2536