[DevExpress Support Team: CLONED FROM T144085: How to set the currency symbol on EditMask property - £ C2 (£ 2,234.23)]
Could you please tell me how to change the culture in the project.
How to change the culture in the project.
Answers approved by DevExpress Support
To change the culture of the application, use the approach from the following MSDN topicfor further information:
How to: Set the Culture and UI Culture for Windows Forms Globalization
For example, if you need to change the culture to "en-GB", use the following code:
C#static class Program {
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main() {
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-GB"); // <---
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-GB");
Application.Run(new Form1());
}
}
It turns out that to accomplish this task, it is only necessary to change the Thread.CurrentThread.CurrentCulture. I've updated my answer accordingly. Please check it.