Localization of Reporting Services-Reports (.rdl / .rdlc-Files)

user4531 picture user4531 · Nov 10, 2009 · Viewed 7.9k times · Source

i need to localize a Reporting Services-report (.rdlc) and i would like to do it using a ressource-file (.resx).
I found pages like this and that and they use custom code to achieve their target.
But pages like Setting the Report Language Parameter in a URL give me the impression that localization in reports is possible without custom code.

So, it is possible to localize a Reporting Services-report without custom code ?
If so, is there a tutorial that explains how it's done?

Answer

marc_s picture marc_s · Nov 10, 2009

What in the report do you want to localize?

  • values from the database? Those should be retrieved from the database in the appropriate language already

  • fixed labels and textboxes on the report? I have not yet seen any compelling way to doing this - you can either have

    • one report "skeleton" / template per language (and pick the one you need)
    • if the number of elements is manageable, define report parameters which you can set from the calling code, to set the labels and texts
    • use some custom .NET extension for handling localization

It's not really an awfully pretty picture, indeed - I'd be most interested in better solutions myself! (I typically need to support 3-4 languages for any report - and I'm using only server-based .RDL files, no .RDLC, so any localization that depends on client-side resource files is not usable in my case)