How to change UI language

Stimulsoft Reports.WPF discussion
Post Reply
tevildo
Posts: 8
Joined: Thu Nov 17, 2011 12:26 pm

How to change UI language

Post by tevildo »

Hello!

How to change the UI language of the designer and the viewer by code?

Thanks!
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

How to change UI language

Post by HighAley »

Hello.
tevildo wrote:How to change the UI language of the designer and the viewer by code?
Please try to use next code:

Code: Select all

StiLocalization.Load(@"c:\Program Files\Stimulsoft Reports.Ultimate 2011.2 Trial\Bin\Localization\de.xml");
Thank you.
tevildo
Posts: 8
Joined: Thu Nov 17, 2011 12:26 pm

How to change UI language

Post by tevildo »

Hello,

The code doesn't work. StiLocalization reads the file, but when I run the designer with report.DesignWithWpf(), the designer is not localizated.

Thanks!
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

How to change UI language

Post by HighAley »

Hello.
tevildo wrote:The code doesn't work. StiLocalization reads the file, but when I run the designer with report.DesignWithWpf(), the designer is not localizated.
Which version do you use?

Thank you.
tevildo
Posts: 8
Joined: Thu Nov 17, 2011 12:26 pm

How to change UI language

Post by tevildo »

Hello,

I use 2011.2.1100.0 version.

Thanks!
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

How to change UI language

Post by HighAley »

Hello.
tevildo wrote:I use 2011.2.1100.0 version.Thanks!
It works right in this version. Maybe you should correct the path to your language file.

Thank you.
tevildo
Posts: 8
Joined: Thu Nov 17, 2011 12:26 pm

How to change UI language

Post by tevildo »

Hello,

Can you give a sample, please? I can't localize the deisgner..

Thanks!
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

How to change UI language

Post by HighAley »

Hello.
tevildo wrote:Can you give a sample, please? I can't localize the deisgner..
Here is a sample project.

Thank you.
Attachments
1436.WindowsApplication7.zip
(9.59 KiB) Downloaded 618 times
Post Reply