The generally recommended method from what I understand is to move the
"message" part of the validation out of the model and into the view
for translation. You then define array('error' => __('Validation
message', true)) when you create a form input in your view with the
form helper in order to define your validation messages, which will
then get translated.
Here's an article from Mariano that explains it:
http://bakery.cakephp.org/articles/view/multiple-rules-of-validation-per-field-in-cakephp-1-2
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---