svenfuchs/i18n — Issue #140: I think is not reading errors messages from errors entry
Author: klaussk8
Created: 2012-02-06 12:54:58+00:00
State: open

When using custom error messages like:

my_model.rb

errors.add(:base, I18n.t("activerecord.errors.models.my_model.my_custom_message"))

or

errors.add(:base, :my_custom_message)

And in yml file:

en:
..activerecord:
....errors:
......models:
........my_model:
..........my_custom_message: "Message test"

or

en:
..activerecord:
....errors:
......models:
........my_model:
..........attributes:
............base:
..............my_custom_message: "Message test"

getting message translation missing