the website I\'m developing will be in spanish. Therefore, I\'ll need the error messages in that language.
I created a file under Configuration directory called \'en.yml
You have to specify the translation after the attribute
es:
activerecord:
models:
announcement: "Anuncio"
attributes:
announcement:
title: "Título" # <= here
errors:
models:
announcement:
attributes:
title:
blank: "no puede estar vacío."
See 5.1 Translations for ActiveRecord Models for more information