translation APIv1_beta.1.4

TranslateRequest

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 translations, see the table in the API Overview page.
text
array of string
The input text to translate. For ITEM_DESCRIPTION translations, HTML/CSS markup and links can be included, but will count toward max character limit.

Max Length:
  • 1,000 characters for ITEM_TITLE
  • 100,000 characters for ITEM_DESCRIPTION, including markup/tags
Max Occurrence: 1. Only one continuous text string currently supported.
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 translations, see the table in the API Overview page.
translationContext
Input the listing entity to be translated.

Valid Values: ITEM_TITLE and ITEM_DESCRIPTION