This is a migrated thread and some comments may be shown as answers.

Localizing report in ASP.net web application

3 Answers 122 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
daniel
Top achievements
Rank 1
daniel asked on 19 Oct 2015, 08:28 AM

Hi,

 I have created a TRDX report files using Telerik stand alone report designer. I created an asp.net web application and calling the TRDX report in the browser using telerik report viewer control. Below is the code used in the page load to call trdx report.

  var reportSource = new UriReportSource() { Uri = "EVB_002.trdx" };
this.ReportViewer1.ReportSource = reportSource;

 We need to implement support for different languages in these reports, example when user wants to see report headers in French, there must be an option for user to select the language. I have gone through following 2 links given in telerik documentation and created a resource file(.resx). 

http://www.telerik.com/help/reporting/report-viewer-localization.html
http://www.telerik.com/help/reporting/advanced-localizing-reports.html

Please let me know the next steps to associate the resource files with telerik report viewer so that reports can be viewed in other languages.

Thanks,

Daniel

3 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 21 Oct 2015, 03:45 PM
Hello Daniel,

Reports produced by the Standalone Report Designer tool are in XML format and do not support localization with RESX files - Localizing Reports.

Localization can be done by adding a report parameter which will provide information about the culture in the report. Then for each item in the report you will have to use a user function obtaining the correct localized string based on the report parameter value, and a second argument pointing the key of the resource.

To extend the Standalone Designer to use an external assembly with user functions, please check Extending Report Designer and the tutorials at the bottom of the article. The web application must be extended to load the external assembly in a similar way (the settings are listed in Previewing a report definition that uses an external assembly).


I hope this information is helpful.

Regards,
Stef
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Karthic
Top achievements
Rank 1
Veteran
answered on 16 Oct 2019, 01:52 PM
0
Neli
Telerik team
answered on 17 Oct 2019, 02:35 PM

Hello Karthic,

Since version R1 2019 (13.0.19.116), we provide an option to localize TRDP reports with Standalone Report Designer. For more information, refer to Localizing Reports article.

Regards,
Neli
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
daniel
Top achievements
Rank 1
Answers by
Stef
Telerik team
Karthic
Top achievements
Rank 1
Veteran
Neli
Telerik team
Share this question
or