Report Viewer Localisztion

Stimulsoft Reports.NET discussion
Post Reply
fphealthcare
Posts: 33
Joined: Sun Jul 02, 2006 6:06 pm
Location: New Zealand

Report Viewer Localisztion

Post by fphealthcare »

We want our report can be localized for English, French and German. I want to know how can we make the "Report Viewer Menu" to be localized by those three language.
Thanks.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Report Viewer Localisztion

Post by Edward »

Please use the following code:

Code: Select all

Stimulsoft.Report.StiOptions.Configuration.DirectoryLocalization = PathToTheLocalizationFiles;
Stimulsoft.Report.StiConfig.LoadLocalization("en.xml");
en.xml - English localization file
fr.xml - French localization file
de.xml - German localization file

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