This is the base type of the translate method request payload.
Types that use TranslateRequest
Not used by any types.
Call that uses TranslateRequest
POST
Fields
from
The language of the input text to be translated. Not all LanguageEnum values are supported in this field. For a full list of supported language pairings, see the Supported languages table in the API Overview page.
text
array of string
The input text to translate. The maximum number of characters permitted is determined by the translationContext value:
ITEM_TITLE
: 1000 characters maximumITEM_DESCRIPTION
: 20,000 characters maximum.
Note: When translatingITEM_DESCRIPTION
text, HTML/CSS markup and links can be included and will not count toward this 20,000 character limit.
to
The target language for the translation of the input text. Not all LanguageEnum values are supported in this field. For a full list of supported language pairings, see the Supported languages table in the API Overview page.
translationContext
Input the listing entity to be translated.
Valid Values:
Valid Values:
ITEM_TITLE
and ITEM_DESCRIPTION