Localization
- 2 minutes to read
Localization adapts your application to linguistic and regional differences. You can localize the application resources and provide an interface that is specific to a particular culture or locale. DevExpress Dashboard allows you to localize messages (UI elements such as dialog boxes, button captions, menu items, error messages) and culture-specific data (numbers, dates, and currencies).
For instance, the following image illustrates a WinForms Designer form localized into Spanish:
Culture-Specific Data
You can change the currency settings in dashboard designers or use the following API members in code:
Platform | Code | UI |
---|---|---|
In ASP.NET Web Forms and ASP.NET MVC applications, Web Dashboard uses Globalize as a default approach to display culture-specific data. An ASP.NET Core Dashboard control uses Globalize if it has integrated client-side resources.
HTML JavaScript Dashboard uses Intl as a default approach for number formatting, and date and time formatting. You can also use the Globalize library to format dates, numbers, and currencies. See Use Globalize to Format Dates, Numbers, and Currencies for details.
User Interface
You can localize DevExpress Dashboard’s UI with the following approaches:
- Use DevExpress Localization Service that provides satellite resource assemblies and JSON files.
- Use localizer objects that provide localized strings to specify localization resource values at runtime.
The table below displays supported approaches to localize the application’s UI in the dashboard control. Select a control for details:
Control | Localization Service | Localizer Objects |
---|---|---|
Satellite Assemblies Basic modules to translate:
Dependent modules:
| ||
Satellite Assemblies Modules to translate:
| ||
Satellite Assemblies / JSON files Modules to translate:
| Unsupported |