Skip to Content
0
Former Member
Apr 24, 2014 at 10:03 AM

WPF ReportViewer - change language

149 Views

Hello Community, Don, Ludek and Bhushan!

From my last discussion http://scn.sap.com/message/14970847 I learned the following considering the localization of report documents.

1.) Before the report is loaded into the viewer, the LocaleID must be set. This is done by calling "report.ReportClientDocument.LocaleID". There is the enumeration "CeLocale" in CrystalDecisions.ReportAppServer.CommonControls. Take one of the values out of this enumeration for your localization.

2) There is an UFL which could be installed and registered. C++: http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ…

C#: http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ…

Now there is one point missing. To describe the setup of my dev machine:

Operating system: "Windows 7 EN"

Regional settings: "Austria"

If I start my application with "English" as language, the text fields in the report are replaced with the english resources. However, the report viewer is still displayed with german tooltips and menus.

Is there a way to change the language of the ReportViewer control within my source code?

Here you see the screenshot of the report viewer. The application is running with the language set to "english" but the menu still shows the german resources like "Bericht exportieren" or "Vorschau".

Thank you for your support.

Attachments