New to Telerik UI for ASP.NET MVC? Download free 30-day trial

ASP.NET MVC Grid Globalization

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
globalization.cshtml
GlobalizationController.cs
ProductService.cs

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

Globalization is a process which combines web applications adaptation to meet the requirements of local markets and different languages (localization) with their adaptation to specific cultures (internationalization).

The ASP.NET MVC Data Grid delivers globalization through the translation of its messages with adapting them to specific cultures and right-to-left support, as demonstrated is this demo.

Telerik UI for ASP.NET MVC provides globalization features through the supported internationalization and localization approaches. The internationalization feature applies the desired cultures by providing services for defining these cultures, and parsing and formatting dates and numbers. The Telerik UI for ASP.NET MVC localization services include the available RTL mode of Telerik UI for ASP.NET MVC components and the ability to change their displayed messages by adding an additional script file in the document.

This demo shows how to change the culture and language in which the Data Grid messages are displayed. The Telerik UI culture defines specific information for the number formats, week and month names, date and time formats, and more. The Telerik UI culture scripts are generated from the Windows 10 and .NET 4.7 server-side culture definitions and match them by design.

The demo also shows how the selected culture from the Telerik UI for ASP.NET MVC DropDownList updates the server culture. This behavior enables the Telerik UI for ASP.NET MVC Grid to use the matching Resource file messages and localize them accordingly. The kendo.culture() method sets the client cluture to force the Data Grid to use the matching date, number, currency, week, and month formats.

The Telerik UI messages are community-sourced. If a translation is missing from the Resource messages, the Grid will use the default "en-US" messages.

For more information about the globalization capabilities, refer to the official Telerik UI for ASP.NET MVC Data Grid product documentation on the available internationalization and localization settings.

Additional Apps

This Grid example is part of a unique collection of hundreds of ASP.NET MVC demos, with which you can see all Telerik ASP.NET MVC components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in the ThemeBuilder.

Support & Learning Resources

Additional Resources