Hi,

I'm using the $validate array to setup validation and error messages in
the model.

Given a field called "description", the following works perfectly:

$validate = array(
 'description' => array(
  'rule' => array('minLength', 20),
  'message' => 'Description must be at least 20 characters'));

If I translate the error message to spanish it would be:
  'message' => 'La descripción tiene que ser al menos 20 caracteres'));

Notice the ó in the translated word "description" == "descripción".

The result is that no message is shown. The error is still triggered though.

I tested it with all accentuated vocals á é í ó ú and ñ, all of which
are heavily used in spanish.

How can I overcome this?

Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to