Report Report Localization (.rdl / .rdlc-Files)

I need to localize the Reporting Services-report (.rdlc), and I would like to do this using the ressource file of the file (.resx).
I found pages like this and which , and they use custom code to achieve their goal.
But pages such as Configuring the report language setting in the URL give the impression that localization in reports is possible without special code.

So, can you localize a Reporting Services report without custom code?
If so, is there a tutorial explaining how to do this?

+3
source share
3 answers

What do you want to localize in the report?

  • values ​​from the database? They must be obtained from the database in the appropriate language already

  • fixed labels and text fields in the report? I have not seen a convincing way to do this - you can either

    • one skeleton report / template per language (and select the one you need)
    • if the number of elements is controllable, define report parameters that you can set from the calling code to set labels and texts
    • use some custom .NET extensions to handle localization

, ! ( 3-4 - .RDL , .RDLC, , , )

+5

, :

  • - "" Switch, .

, 3-4

0

I pass the parameters to the report for labels, etc., and after adding the parameters to the report (using the menu option "Report → Parameters in VS2008"), you can use the values ​​of these parameters to localize the labels. This works quite well, although it would be better if it were convenient to access resource keys immediately from your form labels, etc.

0
source

Source: https://habr.com/ru/post/1722470/


All Articles