The requested page is not available for the requested platform. You are viewing the content for Default platform.

Localization

  • 2 min 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

Desktop

DataItemNumericFormat.CurrencyCultureName

Dashboard.CurrencyCultureName

WinForms Designer

Web

DataItemNumericFormat.currencyCultureName

Dashboard.currencyCultureName

Web Dashboard

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