Text translation responses if a glossary is provided in the request. This can be the same as translations if no terms apply. This field has the same length as contents.
Text translated into the target language. If an error occurs during translation, this field might be excluded from the response.
detected_language_code
string
The BCP-47 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language does not occur and this field is empty.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-06-05 UTC."],[[["The `translations` field contains text translation responses without glossary application, matching the length of the `contents` field."],["The `glossary_translations` field contains text translation responses when a glossary is used; it matches the length of `contents` and can be identical to `translations` if no glossary terms apply."],["`translated_text` provides the target language translation; this field may be absent if there is an error in translation."],["`detected_language_code` shows the automatically detected source language of the text if the initial request did not include a source language."],["`glossary_config` in the translation response details the glossary configurations used for that specific translation."]]],[]]