Localization

Stimulsoft Reports.WEB discussion
Post Reply
petr.pavlis
Posts: 27
Joined: Sun May 15, 2011 4:16 am

Localization

Post by petr.pavlis »

Hi,

I use StiWebViewerFx and StiWebViewer in my application and I’m able to see UI in Czech language. But when I try to set localization of StiWebDesigner, it doesn’t work correctly. It works correctly only when I use page with StiWebViewer first time.

I have XML files in subdirectory „\Resources\Stimulsoft“ . How to set LocalizationDirectory and Localization property in ASPX file to see designer with Czech UI?

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

Re: Localization

Post by HighAley »

Hello.

Please, try to use next code:

Code: Select all

<cc1:StiWebDesigner ID="StiWebDesigner1" runat="server" LocalizationDirectory="/Resources/Stimulsoft" Localization="cz" />
Thank you.
petr.pavlis
Posts: 27
Joined: Sun May 15, 2011 4:16 am

Re: Localization

Post by petr.pavlis »

Hello,

Thank you, but your code doesn’t work.

So I put „/“ to end of LocalizationDirectory property:

Code: Select all

<cc1:StiWebDesigner ID="StiWebDesigner1" runat="server" LocalizationDirectory="/Resources/Stimulsoft/" Localization="cz" />
It’s better, but not OK. I see list of language in Designer now and I’m able to set language only via user interface now.

But designer doesn’t respect Localization property still. When I come to the page, I see last time used language.

Please, tell me how to set language from app code.

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

Re: Localization

Post by HighAley »

Hello.

There was a little bug. We fixed it. PLease, check our next prerelease build that will be available today.

Thank you.
petr.pavlis
Posts: 27
Joined: Sun May 15, 2011 4:16 am

Re: Localization

Post by petr.pavlis »

Hello.

Localization works correctly now. :)

Thank you very much
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Localization

Post by HighAley »

Hello.

We are always glad to help you.
Let us know if you need any additional help.

Thank you.
Post Reply