Skip to main content

This is the base type of the translate method request payload.

Types that use TranslateRequest

Not used by any types.

Call that uses TranslateRequest

Fields

Field
Type
Description
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 maximum
  • ITEM_DESCRIPTION: 20,000 characters maximum.
    Note: When translating ITEM_DESCRIPTION text, HTML/CSS markup and links can be included and will not count toward this 20,000 character limit.
Note: Currently, only one input string can be translated per API call. Support for multiple continuous text strings is expected in the future.
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: ITEM_TITLE and ITEM_DESCRIPTION

Got thoughts? Click the feedback button – your insights help us improve!