search for: estound

Displaying 2 results from an estimated 2 matches for "estound".

Did you mean: esound
2006 Jan 04
1
Localize validate_error messages
I am in the process of adding localized language support to my app and I am currently using the various validate methods on fields. How would i go about editing the following text based on a users choosen language: 3 errors prohibited this podcast from being saved basically I am looking to make the generated flash[:errors] text from rails multilingual. Thanks Andrew --------------
2006 Jan 30
8
Translating a validtion flash
I''m a belgian Rails user (Dutch is my native language). I wondered if it is possible to translate error messages (generated by validators). I know how to create my own error messages: def method content rescue logger.error(...) flash[:notice] = ''My own error message" redirect_to(...) But where can I find the validator''s .rb files, so I can change them?