Is it possible to translate properties in a ListProperty? I would like to translate the Heading and Text property in the ExpandableModel. I've tried this but that will only translate the Items property...
Lista med expanderbara rubrikerBlock för att skapa lista med rubriker som kan fällas ut
Rubrik
Lista med expanderbara rubriker
Translated Heading
public class ExpandableListBlock : BlockData {
[Display(Order = 10)]
[CultureSpecific]
public virtual string Heading { get; set; }
[Display(Order = 20)]
[EditorDescriptor(EditorDescriptorType = typeof(CollectionEditorDescriptor))]
public virtual IList Items { get; set; }
}
public class ExpandableModel {
[UIHint(UIHint.Textarea)]
public virtual string Heading { get; set; }
public virtual XhtmlString Text { get; set; }
}
Is it possible to translate properties in a ListProperty?
I would like to translate the Heading and Text property in the ExpandableModel. I've tried this but that will only translate the Items property...