Skip to main content

Batch Text/HTML Translation

API Overview

  • The result of batch translation

API URL

Request Parameters

Body

FieldTypeExplanationRequired
formatstringOptional values: text,html
Default value: text
false
fromLangstringSource language, two-letter language code(ISO 639-1 standard), default value: auto
false
toLangstringTarget language, two-letter language code(ISO 639-1 standard)
true
sourceTextMapobjectKey-value pair format
key is the unique identifier of the text to be translated, can be used to correspond to source text,
value is the text to be translated.
eg.: { "1": "男士T恤衫", "2": "夏季裙子"}
true
scenestringTranslation scene, optional values:
title(product title)
description(product detailed description)
chat(for the communication scenario with e-commerce buyers and sellers)
other(other common scenarios)
true

Security Auth

tip

Please go to Console-Account Center to get your apiToken.

Add your apiToken to the request parameters. Please refer to the examples below.

Request Example

Response Example

Loading...