This help topic explains how to localize Telerik Grid for ASP.NET MVC.
should be defined *after* all other UI components in the page.
If you create the components on the client-side and do not use the MVC extensions,
this help topic (Step 4 - Register Scripts)
To localize the grid follow these steps:
Create a folder named App_GlobalResources in your application.
The localization files will be stored in that folder:
Check the App_GlobalResources folder in the installation location of Telerik Extensions for ASP.NET MVC.
There you can find English, German and French localization files.
If the required localization file exists copy it
in the App_GlobalResources folder of your application.
If the required localization file does not exist, you should create your own.
The easiest way to create a new localization file is to copy an existing one and rename it. Then use Visual Studio to edit the values.
Here is how the default English localization looks like:
The name of the localization file should be in the form
GridLocalization.[culture].resx. For example:
"GridLocalization.en-US.resx" or "GridLocalization.de-DE.resx".
Finally you need to set the UICulture. There are two ways to do that:
Set the UICulture attribute of the Page directive:
<%@ Page Language="C#" UICulture="de-DE" Inherits="System.Web.Mvc.ViewPage" %>
Set the CurrentUICulture property of the CurrentThread inside your action method:
Here is how the final output should look like using the German localization:
public ActionResult Localization()
System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("de-DE");