/// <summary>
        /// Gets the language culture list.
        /// </summary>
        /// <returns></returns>
        public static LanguageCultureCollection GetLanguageCultureList()
        {
            string strLangList = LANGUAGE_DEFAULT; //default for design time

            // Obtain PortalSettings from Current Context
            if (HttpContext.Current != null && HttpContext.Current.Items["PortalSettings"] != null)
            {
                //Do not remove these checks!! It fails installing modules on startup
                PortalSettings PortalSettings = (PortalSettings)HttpContext.Current.Items["PortalSettings"];
                strLangList = PortalSettings.GetLanguageList();
            }

            LanguageCultureCollection langList;

            try
            {
                langList =
                    (LanguageCultureCollection)
                    TypeDescriptor.GetConverter(typeof(LanguageCultureCollection)).ConvertTo(strLangList,
                                                                                             typeof(
                                                                                                 LanguageCultureCollection
                                                                                                 ));
            }
            catch (Exception ex)
            {
                //ErrorHandler.HandleException("Failed to load languages, loading defaults", ex);
                ErrorHandler.Publish(LogLevel.Warn, "Failed to load languages, loading defaults", ex);
                langList =
                    (LanguageCultureCollection)
                    TypeDescriptor.GetConverter(typeof(LanguageCultureCollection)).ConvertTo(
                        LANGUAGE_DEFAULT, typeof(LanguageCultureCollection));
            }
            return(langList);
        }