Skip to content

DevExpress-Examples/asp-net-mvc-dashboard-localization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dashboard for MVC - Localization

The example shows how to localize an ASP.NET MVC Dashboard extension:

  • Translate UI element captions to a different language: dialog boxes, buttons, menu items, error messages, etc.
  • Format numbers, dates, and currencies according to specific culture settings.

Example Structure

The example contains two projects that show how to localize the Web Dashboard in case automatic or manual script integration. Both projects localize the ASP.NET MVC Dashboard extension for the German market with the satellite resource assemblies. The extension uses Globalize to format to dates, numbers, and currencies.

The example also shows how to apply custom formatting for numbers and dates.

Automatic Script Registration

Files to look at:

The DashboardLocalizationMVC project registers client libraries automatically. Globalize is included when you register third-party libraries.

Manual Script Registration

Files to look at:

The DashboardLocalizationManualMVC project prevents the Web Dashboard control from loading client libraries automatically and references Globalize and other libraries on the web page.

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)