public MSTranslationService(string from, string to, string clientID, string clientSecret) { this.FromLanguage = from; this.ToLanguage = to; authService = new MSTranslationAuthentication(clientID, clientSecret); _translateUrl = Sitecore.Configuration.Settings.GetSetting("MSTranslation_TranslateUrl"); }
public MSTranslationService(string from, string to, string clientID, string clientSecret) { this.FromLanguage = from; this.ToLanguage = to; authService = new MSTranslationAuthentication(clientID, clientSecret); _translateUrl = Sitecore.Configuration.Settings.GetSetting("MSTranslation_TranslateUrl"); }