fixes #2430 - undefined method gettext_translation_for_attribute_name