methods for enum localization