Set the current UI culture for the executing thread : CurrentUICulture « I18N Internationalization « C# / CSharp Tutorial






using System;
using System.Globalization;
using System.Threading;

class MainClass
{
  public static void Main() 
  {
    Thread.CurrentThread.CurrentUICulture=new CultureInfo("fr-FR");
    Console.WriteLine(Thread.CurrentThread.CurrentUICulture.Name);

  }

}
fr-FR








21.2.CurrentUICulture
21.2.1.Set the current UI culture for the executing thread
21.2.2.Set CurrentCulture to new CultureInfo("de-AT-ST")