Webiant Logo Webiant Logo
  1. No results found.

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

TranslationSettings.cs

using Nop.Core.Configuration;

namespace Nop.Core.Domain.Translation;

/// 
/// Translation settings
/// 
public partial class TranslationSettings : ISettings
{
    /// 
    /// Gets or sets a value indicating whether pre-translation is allowed
    /// 
    public bool AllowPreTranslate { get; set; }

    /// 
    /// Gets or sets a language to translate from
    /// 
    public int TranslateFromLanguageId { get; set; }

    /// 
    /// Gets or sets a list of languages which is not allowed to pre-translate
    /// 
    public List NotTranslateLanguages { get; set; } = new();

    /// 
    /// Gets or sets the Google Translate API key
    /// 
    public string GoogleApiKey { get; set; }

    /// 
    /// Gets or sets the DeepL Auth key
    /// 
    public string DeepLAuthKey { get; set; }

    /// 
    /// Gets or sets a translation service type id
    /// 
    public int TranslationServiceId { get; set; }
}