localizing Flash messages

J

Josselin

I am running the Localize plugin without any problem... all strings get
translated
but
if I validate forms data, the error messages are still in plain
English.. , is there any way to overrides them ?

in my model owner.rb, i can write an option, 
validates_presence_of
:last_name, :home_city, :home_phone, :message => "- information
obligatoire"
but if any error the user get :
3 errors prohibited this owner from being saved
There were problems with the following fields:
Home city - information obligatoire
Home phone - information
obligatoire
Last name - information obligatoire

any way to handle that correctly ?

joss
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top