How to change language of Designer & Viewer?

Stimulsoft Reports.NET discussion
Post Reply
eric.ms.wong
Posts: 10
Joined: Sun Apr 05, 2009 5:54 am
Location: Hong Kong

How to change language of Designer & Viewer?

Post by eric.ms.wong »

Is it possible to change the UI language of Designer & Viewer to Triditional Chinese?

I found that there has a 'select UI language' menu under Designer Control's file menu, but only 'Default' option.

Eric
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

How to change language of Designer & Viewer?

Post by Ivan »

Hello,

[quote="eric".ms.wong]Is it possible to change the UI language of Designer & Viewer to Triditional Chinese?
I found that there has a 'select UI language' menu under Designer Control's file menu, but only 'Default' option.[/quote]

Language files are located in the folder "Localization" of the Demo project.
These files are included only in the release version, and is not included in prerelease builds.
Please check last release version (2008.2).

Thank you.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

How to change language of Designer & Viewer?

Post by Jan »

Hello,

Please copy to your application folder "Localization" from standard delivery. Report engine will detect this folder on start. Also you can specify localization file directly with help of following code:

StiConfig.LoadLocalization("zh-CHT.xml");

Thank you.
eric.ms.wong
Posts: 10
Joined: Sun Apr 05, 2009 5:54 am
Location: Hong Kong

How to change language of Designer & Viewer?

Post by eric.ms.wong »

The UI can be only changed if StiConfig.LoadLocalization() statement is placed before InitializeComponent(), is it correct?


Public Sub New()

StiConfig.LoadLocalization("C:\Program Files (x86)\Stimulsoft Reports.Net 2008.2 Trial\Bin\Localization\zh-CHT.xml")

' This call is required by the Windows Form Designer.
InitializeComponent()

' Add any initialization after the InitializeComponent() call.


End Sub
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

How to change language of Designer & Viewer?

Post by Jan »

Hello,
The UI can be only changed if StiConfig.LoadLocalization() statement is placed before InitializeComponent(), is it correct?
That is correct.

Thank you.
Post Reply