Back to Devexpress

Localize Reporting Applications

xtrareports-15504-localization.md

latest7.5 KB
Original Source

Localize Reporting Applications

  • Dec 25, 2023
  • 3 minutes to read

This topic contains information about the localization specifics of each supported platform.

Tip

You can localize text strings displayed in the report, the report control’s size and location, and other report attributes. For more information, review the Localize Reports topic.

Localize DevExpress Controls with Satellite Resource Assemblies

You can localize your end-user reporting applications with the Satellite Resource Assemblies (libraries that contain translated resources).

Tip

See Localization Service to learn how to download and modify the satellite assemblies required to localize applications created with DevExpress .NET controls.

Review the following topics for information on how to use this technique to localize end-user applications:

Localize DevExpress Controls with Localizer Objects

The following table lists the localizer objects used to localize XtraReports UI elements on different platforms:

PlatformLocalizerResource String EnumerationNamespaceAdditional Information
All PlatformsDataAccessUILocalizerDataAccessUIStringIdDevExpress.DataAccess.UI.Localization
ASP.NET (including ASP.NET MVC)ASPxReportsLocalizerASPxReportsStringIdDevExpress.XtraReports.Web.Localization
Print Preview for Windows FormsPreviewLocalizerPreviewStringIdDevExpress.XtraPrinting.LocalizationLocalize the Print Preview (WinForms Reporting)
End-User Report Designer for Windows FormsReportLocalizer, ReportResLocalizerReportStringIdDevExpress.XtraReports.LocalizationLocalize the End-User Report Designer (WinForms Reporting)
Document Preview for WPFPrintingLocalizerPrintingStringIdDevExpress.Xpf.PrintingLocalize the Print Preview (WPF Reporting)
Report Designer for WPFReportDesignerLocalizerReportDesignerStringIdDevExpress.Xpf.Reports.UserDesigner.LocalizationLocalize the End-User Report Designer (WPF Reporting)

Review the following topics for information on how to use this approach to localize end-user applications:

Localize DevExpress Controls with UI Localization Client

The UI Localization Client is a cross-platform utility that allows you to quickly identify non-translated strings of DevExpress UI controls and translate them during a debug session. The utility automatically generates a RESX file(s) with translated resources and adds it to the project.

For more information refer to the following topic: UI Localization Client.

Localize DevExpress Controls for Web with String Substitution

You can substitute localization strings to change the reporting controls’ UI text strings displayed on web pages. The following topics describe how to implement this technique on different platforms:

PlatformTopic
ASP.NET Web FormsLocalize the Web Document Viewer
Localize the Web End-User Report Designer
ASP.NET MVCLocalize the Web Document Viewer
Localize the Web End-User Report Designer
ASP.NET CoreLocalization
JavaScriptLocalization
BlazorLocalization

Identify Non-Translated Strings

  • Use our UI Localization Client tool shipped as part of your DevExpress subscription. This tool streamlines the entire localization process. You can quickly find non-translated strings and translate them during a debug session.
  • Handle the XtraLocalizer.QueryLocalizedStringNonTranslated event to collect non-localized resource strings for further translation. The event allows you to focus on strings that require translation in your application.

See Also

Localize Reports