Esempio n. 1
0
        private void SetUserLocale()
        {
            // If there is no locale specified use the local USER locale.
            // This is to help fix any issues coming from the service using the system locale and the user using the user's locale where they are different

            GeneralOptions go     = MCEBuddyConf.GlobalMCEConfig.GeneralOptions;
            string         locale = go.locale;

            // Now initialize the locale engine to load the strings
            Localise.Init(locale);
        }