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

[Solved] Localizing Telerik in ASP.NET MVC compiled website

0 Answers 23 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andre
Top achievements
Rank 1
Andre asked on 07 Oct 2010, 12:46 AM
I was having an issue with localizing GridLocalizations.resx when deploying as a compiled website. The problem.. it's not working.. The localized resx file is not compiled within the dll's. Setting the resx as compiled/embedded/etc has the same result; my theory is that the compiler does not compile the resx because it's only a translation and the orginal resx is not in the same project or namespace. A compiled website also does not allow the App_GlobalResources folder so copying the resx to the output doesn't work.

I finally got it working by compiling the Telerik MVC project with my translation (dutch) embedded; this results in a NL-nl folder with a Telerik.Web.Mvc.resources.dll. When I copy this folder to the bin directory of the compiled website it works!

My question: Is there an easier way to do this?!?

Greetz,
Andre
Tags
General Discussions
Asked by
Andre
Top achievements
Rank 1
Share this question
or