Set CurrentCulture to new CultureInfo("de-AT-ST") : CurrentUICulture « I18N Internationalization « C# / CSharp Tutorial






using System;
using System.Collections.Generic;
using System.Text;
using System.Globalization;


class Program {
    static void Main(string[] args) {
        CultureInfo ci = new CultureInfo("de-AT-ST");
        System.Threading.Thread.CurrentThread.CurrentCulture = ci;
        System.Threading.Thread.CurrentThread.CurrentUICulture = ci;


    }
}








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")