Tagged controls with enum value instead of string literals

added enum LocaleTag {None,Text, Numeric}