Skip to main content
A newer version of this page is available. .

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:

Localization_LocalizedDesigner

Culture-Specific Data

You can change the currency settings in dashboard designers or use the following API members in code:

Platform

Code

UI

WinForms and WPF

DataItemNumericFormat.CurrencyCultureName

Dashboard.CurrencyCultureName

WinForms Designer

Web

DataItemNumericFormat.currencyCultureName

Dashboard.currencyCultureName

Web Dashboard

Note

Web Dashboard uses Intl as a default approach to display culture-specific data. You can also use the Globalize library to format dates, numbers, and currencies. For details about how to use Globalize, see Use Globalize to Format Dates, Numbers, and Currencies.

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

WinForms Dashboard Designer

WinForms Dashboard Viewer

Satellite Assemblies

Basic modules to translate:

  • Dashboard.Core
  • Dashboard.Win

Dependent modules:

  • DataAccess
  • DataAccess.UI
  • RichEdit.Core
  • XtraBars
  • XtraGrid
  • XtraReports
  • XtraRichEdit

DashboardWinLocalizer

DashboardWinResLocalizer

DashboardLocalizer

DashboardsResLocalizer

WPF Dashboard Control

Satellite Assemblies

Modules to translate:

  • Dashboard.Core
  • Xpf.DocumentViewer.Core

DashboardLocalizer

DashboardsResLocalizer

Web Dashboard

Satellite Assemblies / JSON files

Modules to translate:

  • Dashboard.Core
  • Dashboard.Web
  • DataAccess
  • Web.Resources

Unsupported