added localized support for enums