Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

LocalizationSettings.cs

using Nop.Core.Configuration;

namespace Nop.Core.Domain.Localization;

/// 
/// Localization settings
/// 
public partial class LocalizationSettings : ISettings
{
    /// 
    /// Default admin area language identifier
    /// 
    public int DefaultAdminLanguageId { get; set; }

    /// 
    /// Use images for language selection
    /// 
    public bool UseImagesForLanguageSelection { get; set; }

    /// 
    /// A value indicating whether SEO friendly URLs with multiple languages are enabled
    /// 
    public bool SeoFriendlyUrlsForLanguagesEnabled { get; set; }

    /// 
    /// A value indicating whether we should detect the current language by a customer region (browser settings)
    /// 
    public bool AutomaticallyDetectLanguage { get; set; }

    /// 
    /// A value indicating whether to load all LocaleStringResource records on application startup
    /// 
    public bool LoadAllLocaleRecordsOnStartup { get; set; }

    /// 
    /// A value indicating whether to load all LocalizedProperty records on application startup
    /// 
    public bool LoadAllLocalizedPropertiesOnStartup { get; set; }

    /// 
    /// A value indicating whether to load all search engine friendly names (slugs) on application startup
    /// 
    public bool LoadAllUrlRecordsOnStartup { get; set; }

    /// 
    /// A value indicating whether to we should ignore RTL language property for admin area.
    /// It's useful for store owners with RTL languages for public store but preferring LTR for admin area
    /// 
    public bool IgnoreRtlPropertyForAdminArea { get; set; }
}