Welcome to Working With Rails

 

Discussion Forums

Discuss all things Ruby on Rails with perhaps the web's most vibrant group of Ruby on Rails enthusiasts.
validates_email_veracity_of and i18n
2 Posts
validates_email_veracity_of and i18n

Hi, check 5 How to Store your Custom Translations in http://guides.rubyonrails.org/i18n.html. That should guide you through properly.

Hi there,

I'd like to know if it's possible to use i18n to translate the errors? Ifso, could you tell me how?

I've been trying to do this, but with no results (this is the result of nl.yml file. [code]validates_email_veracity_of:

    errors:
        messages: 
            message: "is ongeldig"
            timeout_message: "het domein is onbereikbaar, probeer later opnieuw"
            invalid_domain_message: "gelieve een ander domein te gebruiken[/code]
2 Posts
Login to add your message