how to change the language to control StiViewerControl

Stimulsoft Reports.NET discussion
Post Reply
miguels
Posts: 27
Joined: Tue Jun 23, 2009 5:05 pm

how to change the language to control StiViewerControl

Post by miguels »

hello, how to change the language to control StiViewerControl to leave me the legends of the buttons in Spanish instead of English?

I have this line but I just change the language in StiDisagnerControl

rutaidioma = System.AppDomain.CurrentDomain.BaseDirectory + "xml\\es.xml";
Stimulsoft.Report.StiConfig.LoadLocalization(rutaidioma);

I hope I can help
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

how to change the language to control StiViewerControl

Post by Alex K. »

Hello,

You can use the following code:

Code: Select all

Stimulsoft.Report.StiConfig.LoadLocalization("es.xml");
stiViewerControl1.Localize();
Thank you.
Post Reply