ReportLocalizer Class
Enables you to localize the user interface elements of XtraReports.
Namespace: DevExpress.XtraReports.Localization
Assembly: DevExpress.XtraReports.v24.1.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
Remarks
To localize the XtraReports user interface using the Localizer technique, do the following:
Create a
ReportLocalizer
descendant and override the GetLocalizedString method to return translated strings.Assign the ReportLocalizer instance to the Active static property.
Tip
To quickly determine the ReportStringId of the UI element, run the application with the custom Localizer object whose GetLocalizedString
method returns id.ToString()
.
Note that you can use satellite resource assemblies localization as it is the most common localization technique supported in the .NET Framework. For more information, review the following help topic: Localizing WinForms Controls with Satellite Resource Assemblies.
Use Localizer objects to add missing translations. For more information, review the following help topic: Localize Reporting Applications.
The ReportResLocalizer class enables you to use both the satellite assemblies and Localizer technique to localize a reporting application.