Interface TranslateParameters

interface TranslateParameters {
    sourceLanguageCode?: string;
    targetLanguageCode?: string;
    terminologyNames?: string[];
    text: string;
}

Properties

sourceLanguageCode?: string

The input language.

targetLanguageCode?: string

The output language.

terminologyNames?: string[]

The name of the terminology list file to be used in the TranslateText request. Terminology lists can contain a maximum of 256 terms.

text: string

The text to translate. Required. The text string can be a maximum of 5,000 bytes long; depending on the char set, it may be fewer than 5,000 chars.