The Bering API supports text translations using the following languages:
Language
API Argument
English
eng
Korean
kor
Japanese
jap
Chinese (Simplified)
cmn
Chinese (Traditional)
zho
French
fra
German
deu
Spanish
spa
Indonesian
ind
Arabic
ara
The table below shows the supported translation language pairs:
Translate From
Translate To
kor, jap, cmn, zho, fra, deu, spa, ind
The total request body size for text translation requests must not exceed 1MB.
We recommend splitting up your text if you want to translate in excess of this limit.
Host: https://api.beringlab.com
POST Endpoint: /v1/text-translate
source_language (required)
source_language
string (enum)
target_language (required)
target_language
domain (required)
domain
source_content (required)
source_content
Text to be translated. Defaults to interpreting argument as plain text. For XML, set the kind parameter to ‘xml_docx’.
kind
Type: string (UTF-8 encoded)
string
subscription_id (required)
subscription_id
Found on the Settings page under ‘API plan Subscription ID’. See Access and Authentication for more details.
api_key (required)
api_key
Your API Key generated in Access and Authentication.
kind (optional)
Used when passing XML to the source_content parameter.
job_id
ID used to get the translated text.
status_code
Status of the API request
Type: integer
integer
POST Endpoint: /v1/text-translate/status/[job_id]
text
The translated text.