TranslationValue

The TranslationValue class is the working unit of translation within Translation Manager

depending on the complexity of the property being represented a Single Translation Value may contain one or more child values.

for example in a simple text box there will be a single value and no InnerValues, but for something more complex like a grid editor there might be many innervalues representing each row of the grid which in turn have innervalues representing the blocks, which then might have inner values representing the properties uses (such as rich text boxes, leblender controls, etc.)

    public class TranslationValue
    {
        public TranslationValue() 
        public TranslationValue(string editorAlias)
        public TranslationValue(string displayName, string editorAlias)
        public TranslationValue(string displayName, string editorAlias, int sortOrder)

        public string DisplayName { get; set; }

        public string EditorAlias { get; set; }
        public string Value { get; set; }

        public bool HtmlControl { get; set; }
        public bool Translated { get; set; }

        public int SortOrder { get; set; }

        public Dictionary<string, TranslationValue> InnerValues { get; set; }

        public bool HasChildValues()
    }