The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IModelLocalization Interface

The Localization node allows localization of UI elements such as messages, exceptions, button captions and so on.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

[ImageName("BO_Localization")]
[ModelNodesGenerator(typeof(ModelLocalizationNodesGenerator))]
public interface IModelLocalization :
    IModelNode,
    IModelList<IModelLocalizationGroup>,
    IList<IModelLocalizationGroup>,
    ICollection<IModelLocalizationGroup>,
    IEnumerable<IModelLocalizationGroup>,
    IEnumerable
<ImageName("BO_Localization")>
<ModelNodesGenerator(GetType(ModelLocalizationNodesGenerator))>
Public Interface IModelLocalization
    Inherits IModelNode,
             IModelList(Of IModelLocalizationGroup),
             IList(Of IModelLocalizationGroup),
             ICollection(Of IModelLocalizationGroup),
             IEnumerable(Of IModelLocalizationGroup),
             IEnumerable
[ImageName("BO_Localization")]
[ModelNodesGenerator(typeof(ModelLocalizationNodesGenerator))]
public interface IModelLocalization :
    IModelNode,
    IModelList<IModelLocalizationGroup>,
    IList<IModelLocalizationGroup>,
    ICollection<IModelLocalizationGroup>,
    IEnumerable<IModelLocalizationGroup>,
    IEnumerable
<ImageName("BO_Localization")>
<ModelNodesGenerator(GetType(ModelLocalizationNodesGenerator))>
Public Interface IModelLocalization
    Inherits IModelNode,
             IModelList(Of IModelLocalizationGroup),
             IList(Of IModelLocalizationGroup),
             ICollection(Of IModelLocalizationGroup),
             IEnumerable(Of IModelLocalizationGroup),
             IEnumerable
[ImageName("BO_Localization")]
[ModelNodesGenerator(typeof(ModelLocalizationNodesGenerator))]
public interface IModelLocalization :
    IModelNode,
    IModelList<IModelLocalizationGroup>,
    IList<IModelLocalizationGroup>,
    ICollection<IModelLocalizationGroup>,
    IEnumerable<IModelLocalizationGroup>,
    IEnumerable
<ImageName("BO_Localization")>
<ModelNodesGenerator(GetType(ModelLocalizationNodesGenerator))>
Public Interface IModelLocalization
    Inherits IModelNode,
             IModelList(Of IModelLocalizationGroup),
             IList(Of IModelLocalizationGroup),
             ICollection(Of IModelLocalizationGroup),
             IEnumerable(Of IModelLocalizationGroup),
             IEnumerable

Remarks

You can use predefined groups of localization elements to localize them in the required language. You can also add a new group with your string constants, and get localized values in code. For detailed information on using this node in code, refer to the How to: Localize Custom String Constants topic.

This interface is a part of the Application Model infrastructure. You do not need to implement this interface in most cases.

The IModelLocalization node represents a list of the IModelLocalizationGroup nodes.

To customize the default content of this node, implement a Generator Updater for the ModelLocalizationNodesGenerator Nodes Generator.

See Also