TextToTranslate
One text and the languages to translate it into.
- refType: stringmin length:1max length:200required
Your id for this text. A text is charged once per ref and target language; send a new ref when the text changes.
- targetType: array of string 1…10
_language _codes min length:1max length:64requiredLanguages to translate into, at most 10, as codes from
GET /v1/languages(any case,-or_; a code with no region names the default variety). Each language once per text. A code that isn't a supported language, or a bare code that fits several varieties when none is the default, comes backunsupported; one that isn't a language code at all fails the request. - textType: stringmin length:1max length:30000required
The text to translate, in the request's
format. At most 30,000 characters. - sourceType: string
_language _code min length:1max length:64nullableThe text's language, as a code from
GET /v1/languages, in any case, with-or_; a code with no region names that language's default variety. Detected when omitted. A code that isn't a supported language, or a bare code that fits several varieties when none is the default, makes every target of this textunsupported.