ActiveReports 9 > ActiveReports User Guide > How To > Customize, Localize, and Deploy > Localize the End User Report Designer |
You can localize all of the UI strings, error messages, and images that appear in the ActiveReports Windows Forms Designer control in included resource files, and alter and run a batch file to localize the assembly.
All of the localization files are located in C:\Program Files (x86)\GrapeCity\ActiveReports 9\Localization.
Specify the culture you want to use in the batch file.
Localize strings (and images) in the resource files.
Tip: Strings are located between <value> and </value> tags in the resource files. |
Run the batch file as an Administrator.
Note: Before you can distribute or put your localization in the Global Assembly Cache (GAC), you must first send the localized GrapeCity.ActiveReports.Design.Win.v9.resources.dll file to GrapeCity and get it signed with a strong name. Then you can drag the language subfolder with the signed dll file into C:\WINDOWS\ASSEMBLY, or distribute it with your solution. |
Test your localized application on a machine that does not share the culture of the localized DLLs.
To write the code in Visual Basic.NET
Visual Basic.NET code. Paste INSIDE the form's constructor just before the InitializeComponent method. |
Copy Code
|
---|---|
System.Threading.Thread.CurrentThread.CurrentUICulture = New System.Globalization.CultureInfo("ja") |
To write the code in C#
C# code. Paste INSIDE the form's constructor just before the InitializeComponent method. |
Copy Code
|
---|---|
System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("ja"); |