SAP Knowledge Base Article - Public

1398064 - How to change language setting in a Visual Studio .NET web application Crystal Report DHTML viewer menu bar?

Symptom

  • Unable to see the Crystal Report DHTML viewer menu items in the language set for my desktop.

Resolution

  • Use the UseBrowserLocale element
  • UseBrowserLocale element retrieves the language settings in your browser for the CrystalReportViewer control.
  • The element must be added to the Web.Config file of the website as follows:

<configSections>
<sectionGroup name="businessObjects">
<sectionGroup name="crystalReports">
<section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
</sectionGroup>
</sectionGroup>
</configSections>

<businessObjects>
<crystalReportViewer>
<add key="UseBrowserLocale" value="true" />
</crystalReportViewer>
</businessObjects>

  • The productLocale does not apply to text associated with the report content.
  • The productLocale setting does not apply to the Group Tree text.

Keywords

KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To

Product

SAP Crystal Reports, version for Visual Studio .NET 2008