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).
- Dashboard for Blazor Server - Localization
- Dashboard Blazor WebAssembly App - Configuration
- Dashboard Blazor WebAssembly App - JavaScript Customization
(you will be redirected to DevExpress.com to submit your response)