Localizing the Active Reports Engine

In ActiveReports, the report engine and associated dialogs can be localized.

This walkthrough illustrates the basics of setting up localized strings for the ActiveReports report engine. The walkthrough is split up into the following activities:

• Creating a new Visual Studio project

• Creating a directory

• Using the Windows Resource Localization Editor for the resource files

• Running the Satellite Assembly Utility to create a satellite assembly

• Adding an ActiveReport with parameters to the project

• Adding code to change the culture information for the project

• Running the project

To complete the walkthrough, you must have the following files: Strings.txt,

Descriptions.txt, ParamPromptDialog.resx, PublicKey.snk, and SatelliteAssembly.exe. You can find these files in your Program Files/Data Dynamics/ActiveReports for .NET/Localization folder. You will also need access to the current ActiveReports.dll installed on your machine which you can find in the Program Files/Common Files/Data Dynamics/ActiveReports for .NET folder.

When you have finished this walkthrough, you will have a localized ActiveReports parameters dialog that looks similar to the following. For purposes of this screenshot, Japanese was used to localize the report engine.

Creating a new Visual Studio project To create a new Visual Studio project

1. Open Visual Studio.

3. Select the project type and click on Windows Application.

4. Change the name of your project and click OK.

Was this article helpful?

0 0

Post a comment