using System.Collections.Generic;
using Abp.Localization;
namespace Abp.Configuration.Startup
{
///
/// Used for localization configurations.
///
public interface ILocalizationConfiguration
{
///
/// Used to set languages available for this application.
///
IList Languages { get; }
///
/// List of localization sources.
///
ILocalizationSourceList Sources { get; }
///
/// Used to enable/disable localization system.
/// Default: true.
///
bool IsEnabled { get; set; }
///
/// If this is set to true, the given text (name) is returned
/// if not found in the localization source. That prevent exceptions if
/// given name is not defined in the localization sources.
/// Also writes a warning log.
/// Default: true.
///
bool ReturnGivenTextIfNotFound { get; set; }
///
/// It returns the given text by wrapping with [ and ] chars
/// if not found in the localization source.
/// This is considered only if is true.
/// Default: true.
///
bool WrapGivenTextIfNotFound { get; set; }
///
/// It returns the given text by converting string from 'PascalCase' to a 'Sentense case'
/// if not found in the localization source.
/// This is considered only if is true.
/// Default: true.
///
bool HumanizeTextIfNotFound { get; set; }
///
/// Write (or not write) a warning log if given text can not found in the localization source.
/// Default: true.
///
bool LogWarnMessageIfNotFound { get; set; }
}
}