Skip to main content

Batch Text/HTML Translation

Information you can get with this API

  • The result of batch translation

Basic Information

Request Parameter

Query

Body

Content-Type: application/json
FieldTypeExplanationRequired
formatstringOptional values:
text,html
default: text
false
fromLangstringsource language, two-letter language code(ISO 639-1 standard), default value: autofalse
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 your query parameters. Please refer to the examples below.

Request Example

Response Example

Loading...