This is a migrated thread and some comments may be shown as answers.

Problem in Localization of Telrik Report

1 Answer 202 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
meet
Top achievements
Rank 1
meet asked on 07 Jul 2009, 01:42 PM
Hello,
We are using Telrik reporting 2008 and we want to make it bilingual in French and English.
We have report classes in App_code folder and report viewer on an aspx page in the root of the directory.
We have created the resx files.Like for AllOrders.cs ,we created AllOrders.resx and AllOrders.fr-FR.resx by following telrik support and added the namespaces threading and globlization in the page containing report viewer.
We added required localization  code in the  same viewer page.
But when we run it we get always this error.

Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "AllOrders.resources" was correctly embedded or linked into assembly


Can you please guide us how make it bilinguial in our case, the steps please?

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 10 Jul 2009, 01:23 PM
Hi meet,

Localization of Telerik Reports is described in this help article, with the only "condition" that this applies for web/win application and not a web site. Here is a quote from the "Introduction to International Applications Based on the .NET Framework" MSDN article:
The .NET Framework localization model consists of a main assembly that contains both the application code and the fallback resources — strings, images, and other objects for the language in which the application is originally developed. Each localized application will have satellite assemblies, or assemblies which contain only the localized resources.
This is the way the reporting product localization works as well. However for web site project you would need App_LocalResources and App_GlobalResources folders, which does not conform to the above article and which a lot of developers dislike.
So our suggestion is to separate the reports in a separate class library according to our best practices and follow the instructions from MSDN and our help.

Regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
meet
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or