Skip to content

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

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/dashboard-blazor-webassembly-localization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dashboard for Blazor WebAssembly - Localization

The example shows how to localize the Dashboard component in Blazor WebAssembly 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 JSON strings to localize the Dashboard component. You can obtain these strings 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 local storage within the user's browser.

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)