How to: Change Current UI Culture

The following sample code demonstrates how to change the current culture used by the Resource Manager and perform runtime XtraEditors localization.

using System.Globalization;
using System.Threading;
using DevExpress.XtraEditors.Controls;

Thread.CurrentThread.CurrentUICulture = new CultureInfo("de");
Localizer.Active = Localizer.CreateDefaultLocalizer();