public LocaleTable LoadLocaleTable(string locale)
        {
            // Temp locale
            {
                LocaleTable locale_table = LoadTempLocaleTable(locale);
                if (null != locale_table)
                {
                    Logging.Info("Loaded TEMP locale for {0} with {1} items.", locale_table, locale_table.Count);
                    return(locale_table);
                }
            }

            // Real locale
            try
            {
                LocaleTable locale_table = LocaleTable.Load(GetFilenameForLocale(locale));
                if (null != locale_table)
                {
                    Logging.Info("Loaded REAL locale for {0} with {1} items.", locale_table, locale_table.Count);
                    return(locale_table);
                }
            }
            catch (Exception ex)
            {
                Logging.Error(ex, "Problem loading locale.");
            }

            // Give up
            return(null);
        }
        public LocaleTable LoadTempLocaleTable(string locale)
        {
            // Temp locale
            try
            {
                LocaleTable locale_table = LocaleTable.Load(GetFilenameForTempLocale(locale));
                if (null != locale_table)
                {
                    return(locale_table);
                }
            }
            catch (Exception ex)
            {
                Logging.Error(ex, "Problem loading temp locale.");
            }

            return(null);
        }