Quoting Joselito De sousa <[email protected]>:
>
> Hola a todos.
>
> Una pregunta quizas algo tonta, cuando hago validaciones en el modelo
> con mensajes para la vista en español efectivamente me los muestra en
> español, pero como puedo hacer para que estos mensajes que son
> genéricos:
>
> 1 error prohibited this categoria from being saved
> There were problems with the following fields:
>
> Aparezcan también en español.
>
Which internationalization package are you using? I just tried my app with
Rails 2.2.2 using the built-in I18N package and it behaves properly. For
example:
no se pudo guardar este task porque se encontraron 2 errores
Se encontraron problemas con los siguientes campos:
* Tags Etiqueta inválido.
* Summary ya está en uso
It is not translating the field names and the capitalization looks wrong to my
anglo eyes, but only the Spanish messages appear.
Jeffrey
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---