Skip to main content
All docs
V24.2

Localizing Your DevExpress-powered .NET App – Your Feedback Matters

We hope to validate a few hypotheses about our Localization Service, Unified Component Installer, overall localization quality, and ways to translate strings in general.

Take the survey Not interested

Runtime Language Switcher

The Language Switcher is displayed in:

  • The login page

    localization ASP.NET Core Blazor login page language switcher

  • The settings menu

    localization ASP.NET Core Blazor settings language switcher

To enable the runtime language switcher, set the DevExpress: ExpressApp: ShowLanguageSwitcher value to True in appsettings.json:

"DevExpress": { 
    "ExpressApp": { 
        "Languages": "en;de", 
        "ShowLanguageSwitcher": true,  
    } 
} 

The Languages section must contain at least 2 supported languages. These languages will be displayed in the Language switcher’s drop-down list.

The language name is retrieved from CultureInfo.NativeName.

Note

The runtime language switcher requires that IModelApplication.PreferredLanguage is set to (User language).

See Also