Skip to main content

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

ReportLocalizer Class

Enables you to localize the user interface elements of XtraReports.

Namespace: DevExpress.XtraReports.Localization

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public class ReportLocalizer :
    XtraLocalizer<ReportStringId>

#Remarks

To localize the XtraReports user interface using the Localizer technique, do the following:

  1. Create a ReportLocalizer descendant and override the GetLocalizedString method to return translated strings.

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

See Also