You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-6Lines changed: 24 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,17 @@
7
7
8
8
# DevExpress VCL Reports - Localize the Report Viewer and Report Designer
9
9
10
-
This example localizes DevExpress VCL Reports components in Delphi and C++ Builder projects.
10
+
This example localizes DevExpress VCL Reports components in [Delphi](./Delphi) and [C++ Builder](./CPB) projects.
11
11
12
12
The [DevExpress Reporting Platform](https://docs.devexpress.com/VCL/405469/ExpressReports/vcl-reports)
13
13
fully supports UI localization. Projects in this repository give users a choice between English (default) and German (localized) versions of two built-in dialogs: [Report Viewer](https://docs.devexpress.com/XtraReports/401850/web-reporting/web-document-viewer) and

17
23
@@ -24,12 +30,24 @@ fully supports UI localization. Projects in this repository give users a choice
24
30
25
31
## Implementation Details
26
32
27
-
Study and build an example project in your preferred development environment:
33
+
To switch the Report Designer and Report Viewer interface to a different language,
34
+
assign the language code to the [`Language`](https://docs.devexpress.com/VCL/dxReport.TdxReport.Language) property of a [`TdxReport`](https://docs.devexpress.com/VCL/dxReport.TdxReport) component:
35
+
36
+
```delphi
37
+
dxReport1: TdxReport;
38
+
// Switch to German Localization
39
+
dxReport1.Language := 'de-DE'
40
+
```
41
+
42
+
A compiled application obtains UI strings for the German locale (`de_DE`) from the following files: [`./Localization/*.de.json`](./Localization).
43
+
Learn more about the localization files required for each component from the following guide:
44
+
[Localize Core Reporting Components: Use JSON Files](https://docs.devexpress.com/XtraReports/400932/web-reporting/common-features/localization/localization-in-asp-net-core-reporting-applications#use-json-files).
28
45
29
-
-[Delphi](./Delphi)
30
-
-[C++ Builder](./CPB)
46
+
To download localization files for various locales, you can use the [DevExpress Localization Service](https://localization.devexpress.com/).
47
+
Learn more from the following guide: [DevExpress UI Localization Service](https://docs.devexpress.com/GeneralInformation/16235/localization/localization-service).
31
48
32
-
A compiled application obtains UI strings for the German locale (`de_DE`) from the following files: [`./Localization/*.de.json`](./Localization). You can use the [DevExpress Localization Service](https://localization.devexpress.com/) to download localization files for various locales.
49
+
> **Note:** The localization mechanism demonstrated in this example applies only to DevExpress Report Designer and Report Viewer components.
50
+
> The DevExpress VCL library components support localization using [resource files and the Localizer Editor](https://docs.devexpress.com/VCL/154039/ExpressCrossPlatformLibrary/how-to/localize-an-application).
0 commit comments