I’m constantly forgetting to translate things like activerecord.errors.models.user.attributes.name.blank in all my app’s languages. Does anyone have any advice for keeping track of where translations are missing?
I’m constantly forgetting to translate things like activerecord.errors.models.user.attributes.name.blank in all my app’s languages. Does
Share
One thing you can do is set
I18n.config.exception_handler = :raise_i18n_exceptionin your test environment. It won’t catch everything but it’s super easy and better than nothing.(In config/environments/test.rb it’d be just
I18n.exception_handler = :raise_i18n_exception
)