Skip to main content
Version: 2.1

ITranslateTranslateTextRequest

Interface in AWS.Translate

Interface for TranslateText requests.

Ancestors​

Properties​

Settings​

property Settings: ITranslateTranslationSettings

Type: ITranslateTranslationSettings

Specify options for the translation output.

SourceLanguageCode​

property SourceLanguageCode: string

Specify the language code of the source text.

Specify auto to have Amazon Translate determine the source language automatically. When set to auto, Amazon Translate with call Amazon Comprehend to determine the source language.

TargetLanguageCode​

property TargetLanguageCode: string

Specify the language code of the desired output language.

TerminologyNames​

property TerminologyNames: TList<string>

Specify a list of names of custom terminologies to use in the translation.

Text​

property Text: string

Specify text to translate.

The text can be a maximum of 5,000 bytes which may be less than 5,000 characters depending on character set used.

Methods​

AddTerminologyName​

function AddTerminologyName(const ATerminologyName: string): Integer;

Add the name of a custom terminology to TerminologyNames.

Parameters

NameDescription
ATerminologyNameSpecify the name of a custom terminology.

Returns

Index of the added entry.