Ivan what are you doing working so late? You will be happy to know the upcoming release 1.5 has a new attribute for enum localization. In fact we changed all of the enums in security for some guy in Brazil -- what a pain The following snippets reveal its simplicity.
Steve
'-- Standard Enum
Public Enum DeniedActions as Integer
NoMessage = 0
ReplaceEachCharacter = 1
End Enum
'-- Localized Enum
Public Enum DeniedActions as Integer
<EnumDisplayValue("IVANEnum - Message", True) > _
NoMessage = 0
<EnumDisplayValue("IVANEnum - Replace", True) > _
ReplaceEachCharacter = 1
End Enum
Attribute Constructor
New(ValueorKey as String, IsLocalizationKey as Boolean)