Localizing SQL Server Reporting Services reports?

十年热恋 提交于 2019-12-23 02:52:36

问题


How would one go about localizing SSRS reports?

Let´s say I have a report that contains a label with the text "Total Sales" (in Norwegian language, which is where I come from) and I want to use the same report for our danish and swedish customers, so the actual text needs to change slightly.

Do I need to make copies of all the reports and localize them manually, or is there any way to do this in a more automated way?

Could I for instance use expressions for those texts instead, and add our own localizing system to the reports, ie. use the following expression:

=Translate("Total Sales")

which would call one of our .NET methods which would do the translation?

We´re in the beginning of using SSRS reports, so if there is a difference between 2005 and 2008 in this regard, please say which version you´re referring to, as we haven´t decided which one(s) to support yet.


回答1:


Using your expressions requires you to register first the custom assembly for the report server.

This has not changed from 2005 to 2008.

A guide how this can be done is located over here

So, after completing all the steps you will be able to translate the stuff you need.



来源:https://stackoverflow.com/questions/4721889/localizing-sql-server-reporting-services-reports

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!