Click or drag to resize
MicrosoftTranslatorServiceTranslate Method
Translates given text using Translator Text API azure cognitive service.

Namespace: CMS.TranslationServices
Assembly: CMS.TranslationServices (in CMS.TranslationServices.dll) Version: 13.0.131
Syntax
C#
public override string Translate(
	string text,
	string sourceLang,
	string targetLang
)

Parameters

text
Type: SystemString
Text you want to translate
sourceLang
Type: SystemString
Source language (if null or empty, automatic detection is used)
targetLang
Type: SystemString
Target language

Return Value

Type: String
See Also