Skip to content

The example shows how to localize the Dashboard component in Blazor Server applications.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/dashboard-blazor-server-localization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dashboard for Blazor Server - Localization

The example shows how to localize the Dashboard component in Blazor Server applications:

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

The app uses satellite resource assemblies to localize the Dashboard component. You can obtain localized resources from our Localization Service.

A custom CultureSelector UI component is implemented to allow users to change the culture at runtime. The app saves the current culture in a cookie.

The ResourceManager.setLocalizationMessages method is used to localize the specified string at runtime (the "Export To" button's caption in the dashboard title).

blazor-localized-dashboard

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

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