When I submit a form with an error in it, it returns an error message. How can I translate these error messages with i18n? I already have translation for all the other texts in
Just use the Dutch translations file that you can find here. It contains translations for most (if not all) ActiveRecord validation messages.
Copy the file to config/locales/
in your project.
Alternate method
If you want to benefit from updated translations, add the following to your Gemfile
instead of copying the translation files by hand:
gem 'rails-i18n'