Localization - Blazor Reporting Components
Report Viewer (Native)
To localize the Native Report Viewer component, follow the guidelines in the following help topic: DevExpress Blazor Components- Localization. This solution will work because the user interface of the Native Report Viewer component is based on DevExpress Blazor Components.
Document Viewer and Report Designer (JS-Based)
To localize the JavaScript-Based Document Viewer component, use the guidelines described in the following help topic: DevExtreme Localization. This method applies to Devexpress JS-based Reporting components because the user interface of these components is built with DevExtreme widgets.
The following code snippet forces UI widgets to use the German locale in a Blazor application:
function OnCustomizeLocalization(s, e) {
s.dx.localization.locale('de');
}
To use the de
locale, you should register the de.js
file on the web page as described in the following help topic: DevExtreme Localization - Using Globalize.
Note that the JavaScript-based Blazor Reporting components use the ASP.NET Core backend. You can find additional information on localization in the following help topic: Localization - ASP.NET Core Reporting.