using System.Collections.Generic; using Abp.Localization; namespace Abp.Configuration.Startup { /// /// Used for localization configurations. /// internal class LocalizationConfiguration : ILocalizationConfiguration { /// public IList Languages { get; } /// public ILocalizationSourceList Sources { get; } /// public bool IsEnabled { get; set; } /// public bool ReturnGivenTextIfNotFound { get; set; } /// public bool WrapGivenTextIfNotFound { get; set; } /// public bool HumanizeTextIfNotFound { get; set; } public bool LogWarnMessageIfNotFound { get; set; } public LocalizationConfiguration() { Languages = new List(); Sources = new LocalizationSourceList(); IsEnabled = true; ReturnGivenTextIfNotFound = true; WrapGivenTextIfNotFound = true; HumanizeTextIfNotFound = true; LogWarnMessageIfNotFound = true; } } }