Can't localize silverlight report viewer

24 posts, 0 answers
  1. Rudolf Bösch
    Rudolf Bösch avatar
    25 posts
    Member since:
    Jun 2009

    Posted 04 Jan 2011 Link to this post

    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
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 04 Jan 2011 Link to this post

    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.
  3. DevCraft banner
  4. Hubert Frick
    Hubert Frick avatar
    8 posts
    Member since:
    Nov 2009

    Posted 28 Feb 2012 Link to this post

    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
  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 02 Mar 2012 Link to this post

    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.
  6. Hubert Frick
    Hubert Frick avatar
    8 posts
    Member since:
    Nov 2009

    Posted 03 Mar 2012 Link to this post

    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
  7. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 05 Mar 2012 Link to this post

    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.
  8. ADM-IT Denis Pujdak
    ADM-IT Denis Pujdak avatar
    34 posts
    Member since:
    Sep 2011

    Posted 11 Apr 2012 Link to this post

    and it, please. When could correct it?
  9. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 12 Apr 2012 Link to this post

    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.
  10. ADM-IT Denis Pujdak
    ADM-IT Denis Pujdak avatar
    34 posts
    Member since:
    Sep 2011

    Posted 12 Apr 2012 Link to this post

    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
  11. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 12 Apr 2012 Link to this post

    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.
  12. ADM-IT Denis Pujdak
    ADM-IT Denis Pujdak avatar
    34 posts
    Member since:
    Sep 2011

    Posted 12 Apr 2012 Link to this post

    >> 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
  13. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 12 Apr 2012 Link to this post

    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.
  14. ADM-IT Denis Pujdak
    ADM-IT Denis Pujdak avatar
    34 posts
    Member since:
    Sep 2011

    Posted 12 Apr 2012 Link to this post

    One more problem. The localized text isn't located.
    and "Enter date"
  15. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 12 Apr 2012 Link to this post

    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.
  16. ADM-IT Denis Pujdak
    ADM-IT Denis Pujdak avatar
    34 posts
    Member since:
    Sep 2011

    Posted 13 Apr 2012 Link to this post

    Some more labels aren't localized
  17. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 17 Apr 2012 Link to this post

    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.
  18. Ubuntu
    Ubuntu avatar
    89 posts
    Member since:
    Jul 2012

    Posted 20 Jun 2012 Link to this post

    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
  19. Ubuntu
    Ubuntu avatar
    89 posts
    Member since:
    Jul 2012

    Posted 22 Jun 2012 Link to this post

    Dear All,

        I found y way through, 

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

    Best regards
  20. Jon Masters
    Jon Masters avatar
    35 posts
    Member since:
    Jan 2009

    Posted 23 Aug 2012 Link to this post

    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
  21. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 28 Aug 2012 Link to this post

    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 >

  22. ADM-IT Denis Pujdak
    ADM-IT Denis Pujdak avatar
    34 posts
    Member since:
    Sep 2011

    Posted 20 Oct 2012 Link to this post

    Thanks. Now everything works. We are going to buy Telerik.Reporting and the Telerik.Silverlight.
  23. Tomas
    Tomas avatar
    92 posts
    Member since:
    Jun 2010

    Posted 14 Jul 2014 in reply to ADM-IT Denis Pujdak Link to this post

    Hi,

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


  24. Tomas
    Tomas avatar
    92 posts
    Member since:
    Jun 2010

    Posted 15 Jul 2014 in reply to Tomas Link to this post


    Hi

    I found the issue. The problem is the binding

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

    It should be TextResources.ExportToolTip

  25. Stef
    Admin
    Stef avatar
    3050 posts

    Posted 17 Jul 2014 Link to this post

    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.

     
Back to Top
DevCraft banner