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

Can't localize silverlight report viewer

23 Answers 193 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rudolf Bösch
Top achievements
Rank 1
Rudolf Bösch asked on 04 Jan 2011, 10:28 AM
Hello

We have updated a few projects pereviously written under SL3 with Telerik components v. 2009.3.1120.1030 , reporting v.3.2.9.1104 to SL4  v. 2010.3.1110.1040  reporting v. 4.2.10.1110, containing few reports. In the SL3 version, the globalization of the reportviewer worked o.k. following the (obsolete?, it's from 2008) KB-article (http://www.telerik.com/support/kb/reporting/report-viewers/localizing-the-telerik-report-viewer.aspx).

While the localization of the SL-forms and the reports (titles, labels, etc. in code behind) works, the reportviewer's buttons and tooltips do not display the localized values from Telerik.ReportViewer.WebForms.Resources.[culture].resx placed in the App_GlobalResources folder.

Checking the threads at runtime, all culture info (in silverlight AND Web-part) is reflecting the selected culture, but no go for the viewer... it does not adopt any of the cultures! Am I missing something?

Greetings
Rudolf

23 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 04 Jan 2011, 10:42 AM
Hello Rudolf,

As noted in the Known limitations of Telerik Reporting forum thread, Silverlight and WPF report viewers cannot be localized. This request is logged in our system and we would implement the missing functionality for a future release. Unfortunately at this moment there is no specific time frame when this request will be completed.

Sorry for the inconvenience.

Kind regards,
Steve
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
0
Hubert Frick
Top achievements
Rank 1
answered on 28 Feb 2012, 11:43 AM
Hi,
I read the documentation (http://www.telerik.com/help/reporting/report-viewer-localization3.html), and I think I made all steps you described there. But I don't get the Report Viewer localized.
The approach to write a class that implements the Telerik.ReportViewer.Silverlight.ITextResources Interface instead worked for me.
But the other way (Resource files) would be more elegant for me.
Do you have a simple Silverlight Project as example for me, where you localize the report viewer with Resource file(s) ?

Best regards
0
Steve
Telerik team
answered on 02 Mar 2012, 02:20 PM
Hello Hubert,

I've attached a sample project that shows how to localize the viewer via the resx files. For the sake of the example I've used the resources for the default UI culture. Should you need to localize it according to a specific culture, you should also edit your Silverlight project file and add <SupportedCultures>
</SupportedCultures>.

All the best,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Hubert Frick
Top achievements
Rank 1
answered on 03 Mar 2012, 09:18 AM
Hi Steve,
thank you for the example, my fault was that I didn't include the Resource Files in the root of the Project, but in a sub folder.
Some items of the report viewer seem to be not localizable.
I've attached 2 screenshots.
Are there other Resource Keys, or will you make this items localizable in a future version?

Best regards
Hubert
0
Steve
Telerik team
answered on 05 Mar 2012, 10:06 AM
Hi Hubert,

We would make those items localizable in the next version of the product. Sorry for the temporary inconvenience.

Kind regards,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
ADM-IT Denis Pujdak
Top achievements
Rank 1
answered on 11 Apr 2012, 06:04 PM
and it, please. When could correct it?
0
Steve
Telerik team
answered on 12 Apr 2012, 08:08 AM
Hello,

As the export dropdown contains only well-known document formats currently Telerik Reporting does not provide an option to localize it i.e. how would you localize CSV, PDF, Excel etc?

Kind regards,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
ADM-IT Denis Pujdak
Top achievements
Rank 1
answered on 12 Apr 2012, 08:56 AM
If it is possible..
It would be desirable to translate some words: file, comma delimited, Web Archive.
When there could be a new version with corrections which were written by Hubert Frick?
Thanks
0
Steve
Telerik team
answered on 12 Apr 2012, 09:51 AM
Hi,

As mentioned earlier this is currently not possible. If there is enough interest for localizing the export dropdown we would certainly consider it.
Unfortunately we do not understand your last sentence - can you elaborate what corrections you talk about?

Regards,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
ADM-IT Denis Pujdak
Top achievements
Rank 1
answered on 12 Apr 2012, 10:39 AM
>> Unfortunately we do not understand your last sentence 
When we will expect the new version? Clients wait for the localized ReportViewer. )) 
In the majority the problems described in the post "Hubert Frick, Posted on Mar 3, 2012"
Thanks
0
Steve
Telerik team
answered on 12 Apr 2012, 01:07 PM
Hello,

Thank you for the clarification. The localization of Preview and Print dialog would be part of the next internal build or service pack. There is no time frame at this point.

All the best,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
ADM-IT Denis Pujdak
Top achievements
Rank 1
answered on 12 Apr 2012, 01:20 PM
One more problem. The localized text isn't located.
and "Enter date"
0
Steve
Telerik team
answered on 12 Apr 2012, 01:35 PM
Hello,

These buttons are not localized in the current version and you would be able to localize them in the next release along with the other missing localizable properties mentioned in this thread.

All the best,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
ADM-IT Denis Pujdak
Top achievements
Rank 1
answered on 13 Apr 2012, 08:51 PM
Some more labels aren't localized
0
Steve
Telerik team
answered on 17 Apr 2012, 10:15 AM
Hi,

Thank you for those, we've added them to the list of strings that would be available for localization. Your Telerik points have been updated for bringing them to our attention.

Kind regards,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Ubuntu
Top achievements
Rank 1
answered on 20 Jun 2012, 09:02 PM
Dear all,

I have a problem localizing the report viewer and it's content (my report).
So, I have used the attached file and can't get it work for me .. I have a different scenario .. let me explain:
I am using PRISM 4.0 which means I am loading the report xap on demand.I am using RIA class library as well.
I am able to localize all other application content instantly with no problem !!

So
First : Where should I place the resource file, I have tried the application folder, the web, ria class (client & server) side with no luck !!
Second: can I localize the content of the report using the normal .resx files or the same file as the report .resx file ?

Best regards
0
Ubuntu
Top achievements
Rank 1
answered on 22 Jun 2012, 02:24 PM
Dear All,

    I found y way through, 

    As usuall telerik !! Another amazing library ....

Best regards
0
Jon
Top achievements
Rank 1
answered on 23 Aug 2012, 08:10 PM
Did the changes make it into the latest build?  I'm still seeing the preview button and various other items still in English.

Preview
Export to the selected format (understand that options might not all translate)
Export
Tooltips for all of the buttons
0
Steve
Telerik team
answered on 28 Aug 2012, 12:10 PM
Hello Jon,

This forum thread is about the localization for the Silverlight viewer, and not for the ASP.NET report viewer we see in your screenshot. It is possible to localize the ASP.NET report viewer for several years now. You can find its resx file in the bin folder of the installation (e.g. C:\Program Files (x86)\Telerik\Reporting Q2 2012\Bin). More information on its localization is available in Report Viewer Localization help article.

Kind regards,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
ADM-IT Denis Pujdak
Top achievements
Rank 1
answered on 20 Oct 2012, 10:36 AM
Thanks. Now everything works. We are going to buy Telerik.Reporting and the Telerik.Silverlight.
0
Tomas
Top achievements
Rank 1
answered on 14 Jul 2014, 01:30 PM
Hi,

When hovering over the export button all I get is an empty tooltip (small rectangle). Is anyone else seeing this?


0
Tomas
Top achievements
Rank 1
answered on 15 Jul 2014, 05:46 AM

Hi

I found the issue. The problem is the binding

<ToolTipService.ToolTip>
    <ToolTip Content="{Binding ExportToolTip}" />
</ToolTipService.ToolTip>

It should be TextResources.ExportToolTip

0
Stef
Telerik team
answered on 17 Jul 2014, 12:14 PM
Hello Tomas,

That is correct and the issue already logged in .

The fix for the XAML resources will be provided in a consecutive release of Telerik Reporting. Meanwhile, you need to add the correct binding path.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Rudolf Bösch
Top achievements
Rank 1
Answers by
Steve
Telerik team
Hubert Frick
Top achievements
Rank 1
ADM-IT Denis Pujdak
Top achievements
Rank 1
Ubuntu
Top achievements
Rank 1
Jon
Top achievements
Rank 1
Tomas
Top achievements
Rank 1
Stef
Telerik team
Share this question
or