I have set up a my application with spanish and english. On my console i am getting error messages in english if object is returning validation error. I want to set my rails console so i will get validation error message in spanish.
This should work:
I18n.locale = 'es'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With