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
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,18 +9,19 @@
9
9
10
10
This example localizes DevExpress VCL Reports components in Delphi and C++ Builder projects.
11
11
12
-
The [DevExpress Reporting Platform](https://docs.devexpress.com/VCL/405469/ExpressReports/vcl-reports)
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
12
+
The [DevExpress Reporting Platform](https://docs.devexpress.com/VCL/405469/ExpressReports/vcl-reports) fully supports UI localization.
13
+
The localization example in this repository gives users a choice between English (default) and German (localized) versions of two built-in dialogs:
14
+
[Report Viewer](https://docs.devexpress.com/XtraReports/401850/web-reporting/web-document-viewer) and

24
+

24
25
25
26
## Prerequisites
26
27
@@ -45,16 +46,16 @@ Learn more about the localization files required for each component from the fol
45
46
[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).
46
47
47
48
To download localization files for various locales, you can use the [DevExpress Localization Service](https://localization.devexpress.com/).
48
-
Learn more from the following guide: [DevExpress UI Localization Service](https://docs.devexpress.com/GeneralInformation/16235/localization/localization-service).
49
+
For additional information, see the following help topic: [DevExpress UI Localization Service](https://docs.devexpress.com/GeneralInformation/16235/localization/localization-service).
49
50
50
51
> **Note:** The localization mechanism demonstrated in this example applies only to DevExpress Report Designer and Report Viewer components.
51
52
> 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).
52
53
53
54
## Files to Review
54
55
55
-
-[`Delphi\uMainForm.pas`](./Delphi/uMainForm.pas) loads an example report from the file `ExampleReport.repx`.
56
+
-[`Delphi\uMainForm.pas`](./Delphi/uMainForm.pas) loads an example report from `ExampleReport.repx`.
56
57
Event handlers assigned to `TcxRadioButton` components switch localization language between English and German.
57
-
- Files in the [`Localization`](./Localization/) contain localized UI strings.
58
+
- Files in the [`Localization`](./Localization/)folder contain localized UI strings.
58
59
59
60
## Documentation
60
61
@@ -68,11 +69,11 @@ Learn more from the following guide: [DevExpress UI Localization Service](https:
68
69
69
70
Localized Report Designer:
70
71
71
-

72
+

72
73
73
74
Localized Report Viewer:
74
75
75
-

76
+

76
77
77
78
<!-- feedback -->
78
79
## Does this example address your development requirements/objectives?
Copy file name to clipboardExpand all lines: README2.md
+25-21Lines changed: 25 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,14 +7,15 @@
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. Delphi and C++ Builder projects are included.
11
11
12
12
The [DevExpress Reporting Platform](https://docs.devexpress.com/VCL/405469/ExpressReports/vcl-reports) fully supports UI localization.
13
-
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
13
+
The localization example in this repository gives users a choice between English (default) and German (localized) versions of two built-in dialogs:
14
+
[Report Viewer](https://docs.devexpress.com/XtraReports/401850/web-reporting/web-document-viewer) and
The repository has example projects in[Delphi](./Delphi) and [C++ Builder](./CPB).
16
+
The example includes projects for both[Delphi](./Delphi) and [C++ Builder](./CPB).
16
17
17
-

18
+

18
19
19
20
## Prerequisites
20
21
@@ -26,37 +27,40 @@ The repository has example projects in [Delphi](./Delphi) and [C++ Builder](./CP
26
27
## Implementation Details
27
28
28
29
To localize the DevExpress Report Designer and Report Viewer in your Delphi or C++ Builder application,
29
-
use the following steps:
30
-
31
-
1. Determine the localization files you need, consulting the guide [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).
32
-
2. Sign up for the [DevExpress Localization Service](https://localization.devexpress.com/) and request to download localization files.
33
-
To learn more, [refer to the corresponding guide](https://docs.devexpress.com/GeneralInformation/16235/localization/localization-service).
34
-
3. Create a `Localization` folder in the same folder as your compiled application executable.
35
-
Projects in this repository use `..` as the output path, so that both projects can use the same `Localization` folder.
36
-
Extract the downloaded localization files to the `Localization` folder.
37
-
4. To switch the Report Designer and Report Viewer interface to a specific language,
38
-
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:
30
+
do the following:
31
+
32
+
1. Use the [DevExpress UI Localization Service](https://docs.devexpress.com/GeneralInformation/16235/localization/localization-service)
33
+
to obtain localization files for DevExpress VCL Report Viewer and Designer.
34
+
These files contain UI string translations for a specific language/locale.
35
+
Refer to the following guide for step-by-step instructions:
36
+
[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).
37
+
1. Extract downloaded files to a `Localization` folder next to your compiled application executable.
38
+
Note that projects in this repository output their executables to the same location.
39
+
This allows both projects to use the same localization files.
property to switch the Report Designer and Report Viewer interface to a specific language.
39
43
40
44
```delphi
41
45
dxReport1: TdxReport;
42
46
// Switch to German Localization
43
47
dxReport1.Language := 'de-DE'
44
48
```
45
49
46
-
For a more detailed step-by-step guide to localizing your applications, refer to the documentation:
50
+
For a more detailed step-by-step guide to localizing your applications, refer to the following help topic:
47
51
[Report Viewer and Designer UI Localization](https://docs.devexpress.com/VCL/405598/ExpressReports/localization/vcl-report-viewer-and-designer-localization).
48
52
49
-
Localizing the contents of specific reports is out of scope for this example.
50
-
Refer to the following guide to learn more: [Report Localization](https://docs.devexpress.com/VCL/405599/ExpressReports/localization/vcl-report-localization).
53
+
This example doesn't localize report content.
54
+
To localize report content in your project, refer to the following guide: [Report Localization](https://docs.devexpress.com/VCL/405599/ExpressReports/localization/vcl-report-localization).
51
55
52
56
> **Note:** The localization mechanism demonstrated in this example applies only to DevExpress Report Designer and Report Viewer components.
53
57
> 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).
54
58
55
59
## Files to Review
56
60
57
-
- [`Delphi\uMainForm.pas`](./Delphi/uMainForm.pas) loads an example report from the file `ExampleReport.repx`.
61
+
- [`Delphi\uMainForm.pas`](./Delphi/uMainForm.pas) loads an example report from `ExampleReport.repx`.
58
62
Event handlers assigned to `TcxRadioButton` components switch localization language between English and German.
59
-
- Files in the [`Localization`](./Localization/) contain localized UI strings.
63
+
- Files in the [`Localization`](./Localization/) folder contain localized UI strings.
60
64
61
65
## Documentation
62
66
@@ -70,11 +74,11 @@ Refer to the following guide to learn more: [Report Localization](https://docs.d
70
74
71
75
Localized Report Designer:
72
76
73
-

77
+

74
78
75
79
Localized Report Viewer:
76
80
77
-

81
+

78
82
79
83
<!-- feedback -->
80
84
## Does this example address your development requirements/objectives?
0 commit comments