multi-language support for report parameter names?
Hi there, I am just wondering if it is possible to have different names for the report parameters depeding on which language is selected. Is there any way to specify the names of the report parameters in a config file where a different name for each supported language is stored? Thanks and Regards Oliver
September 28th, 2010 11:03am

Hi Oliver, Are you using reporting service with RDL report or local report RDLC ? if you are using Reporting Service, this feature is not supported by the current version of SQL Reporting Services. Parameter prompt cannot be dynamic changed, because it renders earlier than other variables. So a possible workaround is changing the URL to switch the report on different languages. For example, you may develop a index report which provides users for selecting the language version they need. Then using Go to URL to redirect to the report in different language. If you are building a local report rdlc with Visual Studio, you could achieve this in your web application with the code behind: Thread.CurrentThread.CurrentCulture = new CultureInfo(System.Configuration.ConfigurationManager.AppSettings["ENCulture"].ToString()); Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture; and System.Configuration.ConfigurationManager.AppSettings["ENCulture"].ToString() In your web.config . <appSettings> <add key="ReportServerUrl" value="http://localhost/reportserver"/> <add key="DefaultCulture" value="zh-cn"/> <add key="CNCulture" value="zh-cn"/> <add key="ENCulture" value="en-us"/> </appSettings> Thanks, Challen Fu
Free Windows Admin Tool Kit Click here and download it now
September 29th, 2010 8:42am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics