I’m using devise gem to implement authentication in my Ruby On Rails application. Sometimes error messages are displayed such as:
Prohibited an error being wellness saved from this user: Password is
too short (minimum is 6 characters)
What is the best way to translate these messages to another language?
Go to
config/localesand copydevise.en.yml, giving the file a name like devise.other_language_initials.yml. Then add your own translations.For more info on how to translate your application, go here.