one question

Stimulsoft Reports.WPF discussion
Post Reply
miguel
Posts: 14
Joined: Tue Apr 21, 2009 10:32 am
Location: sinaloa

one question

Post by miguel »

how can I make my application run with a default language other than English

example. I have the software in Spanish. and working with the same language, but when I publish my application with the customers they see me in English and Spanish
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

one question

Post by Edward »

Hi

Localization folder you can copy here:
'\Program Files\Stimulsoft Reports.Net ...\Bin\Localization\'

Please copy that 'Localization' directory in the directory of your application with all localization files you need and use the following code:

Stimulsoft.Report.StiConfig.Load();
Stimulsoft.Report.StiOptions.Configuration.DirectoryLocalization = Path.Combine(Application.StartupPath,"Localization");
Stimulsoft.Report.StiConfig.LoadLocalization("en.xml");
Stimulsoft.Report.StiOptions.Configuration.Localization = "en.xml";
Stimulsoft.Report.StiConfig.Save();

'en.xm' means that current localization file selected contain English localization. Just change the localisation file.

Thank you.
Post Reply