Page 1 of 1

Localize preview

Posted: Fri Sep 21, 2007 7:42 pm
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.

Localize preview

Posted: Mon Sep 24, 2007 2:40 am
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.