Use CultureAndRegionInfoBuilder : CultureAndRegionInfoBuilder « Internationalization I18N « C# / C Sharp






Use CultureAndRegionInfoBuilder


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



class Program {
    static void Main(string[] args) {

        CultureAndRegionInfoBuilder styria = new CultureAndRegionInfoBuilder(
            "de-AT-ST", CultureAndRegionModifiers.None);
        styria.LoadDataFromCultureInfo(new CultureInfo("de-AT"));
        styria.LoadDataFromRegionInfo(new RegionInfo("AT"));

        styria.Register();

    }
}
           
       








Related examples in the same category