Skip to main content
.NET 6.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.v24.1.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