public static LanguageConfig GetLanguageConfig(this LanguageSetting setting, int?input)
        {
            if (!input.HasValue || setting.LanguageConfigs == null)
            {
                goto GetDefaultKey;
            }
            return(setting.LanguageConfigs.FirstOrDefault(b => b.Key == input.Value));

GetDefaultKey:
            return(setting.DefaultLanguage());
        }