Skip to Content
0
Former Member
Sep 27, 2011 at 01:01 PM

WPFCrystal Report Viewer Localization

40 Views

Hi ,

Working on a requirement to make localization for WPFCrystal Report Viewer , in that process refered SAP Crystal Reports .NET SDK Developer Guide and fallowed Configuring Multilingual Client Support Tutorial.

My task is to localize WPFCrystalReportViewer , which fallows under Configuring multilingual client support for a Windows application .

I have few questions:-

1) Not able to see Romanian (actually spanish) language applied to reports even after setting "Regional and language" to Romanian language (i have fallowed all steps mentioned in Configuring Multilingual Client Support tutorial). So Does the tutorial applies for WPFCrystalReportViewe or do we need to set any culture information .

Here is the snippet which i have:-

ReportDocument mReportDocument = new ReportDocument();

// Thread.CurrentThread.CurrentCulture = new CultureInfo("ro-RO");

mReportDocument.Load(@"D:\CorrelationReport.rpt");

mReportDocument.SetDataSource(corrList);

this.reportViewer.ViewerCore.ReportSource = mReportDocument;

2) So can we set localization to just Crystal Report Viewer , not accordingly with OS Regional and language settings?

Thanks