none
multilingual-Report RRS feed

  • Question

  • Hi..

    I try to develope a C#.NET application with VS 2005. The application is multilingual. The user can change the language of the application in runtime. I use a Report. 

    I want that all static elements (of the report) like the column names  are changed, when the user change the language at runtime. I tried to use "user!language" but that dosent help (because it uses always the system language).

    How can I solve this problem? Thanks...

    Monday, April 2, 2007 6:21 AM

All replies

  • You can pass the user-language as a parameter to the report and during the report design, check for the value of the user-language parameter and change the static text based the language, so when the report is rendered at runtime, based on the user-language value passed to the report, the static text changes automatically. Another option is, pass the static text also as a dataset and use the field values from this dataset to dynamically set the static text values of the report.
    Monday, April 2, 2007 5:18 PM
  • Hi SVadali. Thanks for your Answer.

    How can I pass the user-language as a parameter to the report?

     

    Tuesday, April 3, 2007 5:30 AM