solve attribute_enums i18n method error