Localize preview

Stimulsoft Reports.NET discussion
Post Reply
User avatar
Fabio Pagano
Posts: 355
Joined: Mon Apr 16, 2007 12:38 pm
Location: Bari (Italy)

Localize preview

Post by Fabio Pagano »

I need to localize preview in Italian (i need to localize toolbar tooltips).

Is "Stimulsoft.Report.StiConfig.LoadLocalization("c:\MyPath\it.xml")" ok?

Is there another way?

Thanks.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Localize preview

Post by Edward »

Please change your code in the following way:

Code: Select all

Stimulsoft.Report.StiOptions.Configuration.DirectoryLocalization = My.Application.Info.DirectoryPath
Stimulsoft.Report.StiConfig.LoadLocalization("it.xml")
Also please note that you should do this from the very beginning of your Application, before creating any controls of the Stimulsoft Reports.Net. These are static methods and can be called from any part of your Application.

Thank you.
Post Reply