Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

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.v20.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[ImageName("BO_Localization")]
[ModelNodesGenerator(typeof(ModelLocalizationNodesGenerator))]
public interface IModelLocalization :
    IModelNode,
    IModelList<IModelLocalizationGroup>,
    IList<IModelLocalizationGroup>,
    ICollection<IModelLocalizationGroup>,
    IEnumerable<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