TranslatedTextItemOutput interface
Element containing the translated text
Properties
| detected |
The detectedLanguage property is only present in the result object when language auto-detection is requested. |
| translations | An array of translation results. The size of the array matches the number of target languages specified through the to query parameter. |
Property Details
detectedLanguage
The detectedLanguage property is only present in the result object when language auto-detection is requested.
detectedLanguage?: DetectedLanguageOutput
Property Value
translations
An array of translation results. The size of the array matches the number of target languages specified through the to query parameter.
translations: TranslationTextOutput[]