Friday, March 9, 2012

report localization

I want to make my report in both english and spenish language.

how can I set culture for reports?

This may be of use to you:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=414751&SiteID=1

|||

There is no culture setting in reports if you are not using Asp.net Report Viewer control but you can create a view with Spanish collation to run the Spanish version of the report. So make sure you use Nvachar or Nvarcha (max) and use Spanish collation in the stored procedure code. Hope this helps.

|||I am using winform report viewer. for report in local mode.|||

I have found you some resources which you can use to create your solution and when it is working post your solution so other Winform users can use it.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=322168&SiteID=1

http://www.codeproject.com/useritems/RDLC_Localization.asp

http://msdn2.microsoft.com/en-us/library/microsoft.reporting.winforms.reportviewer.messages(VS.80).aspx

|||

I have resource file.

I have created a class library with a function that uses resource manager class to get resource and report is localized using resource file

and use that assembly for setting language specific text.

Its easy not a hard work.But the only complicated thing is adding assembly as reference.

if any one need help on referencing assembly.. Here is the link I have used.

http://blogs.msdn.com/mosharaf/archive/2005/12/20/LocalReportCustomCode.aspx

Please do not say that localization is not supported in reporting service.

No comments:

Post a Comment