This project has moved and is read-only. For the latest updates, please go here.

OptionSet enum default language

May 27, 2015 at 10:15 PM
Hi,

When having multi-language organization, Enum values are taken from base language. When base language is not english, the names are generated in base language, and the rest is in english.

It would be great if enum values could be generated in a chosen language.
May 29, 2015 at 11:27 PM
Let me clarify what you're asking for. When generating the Enums from the option sets, currently it generates them like so:
public enum ___OptionSetName___
{

    [System.Runtime.Serialization.EnumMemberAttribute()]
    ___Value1___= 1,

    [System.Runtime.Serialization.EnumMemberAttribute()]
    ___Value2___ = 2,
}
where OptionSetName is the name of he option set, but Value1 and Value2 are the english names of the values. You'd like to be able to choose the language for loading the names of the values?