Skip to main content
.NET Framework 4.6.2+

Localizing Your DevExpress-powered .NET App – Your Feedback Matters

We hope to validate a few hypotheses about our Localization Service, Unified Component Installer, overall localization quality, and ways to translate strings in general.

Take the survey Not interested

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.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

The following members return IModelLocalization objects:

#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