This chapter describes all API methods to interact with the Wordbee Instant Translation MT Hive tool.
Connection parameters
To use the Instant Translation MT Hive API methods you need to set must connect with the domain query query parameter to InstantTranslation when creating a connection. See set to MT Hive. See API - Connect.
API methods
The instant translation MT Hive specific methods are:
Child pages (Children Display) | ||
---|---|---|
|
Connection results
Upon connection, the JSON result includes important configuration details, such as:
Code Block |
---|
{
...
"InstantTranslation": {
"urlTerms": null,
"deadlineMandatory": true,
"deadlineMinLeadHours": 12
}
} |
The properties are:
...
Applies to post edit requests.
If not null then this is the URL to view usage Terms & Conditions.
Before a user requests a post edit of a machine translated file, the user must be asked to navigate to this URL.
For example, in your user interface you would add a checkbox like:
[ ] I have read and agree with the Terms & Conditions.
If the property is null then the user does not need to accept any terms and conditions.
...
Applies to post edit requests.
If not null then the user must choose a deadline for the work. If null then the choice of a deadline is optional.
...
Applies to post edit requests.
If not null: If the user selects a deadline it must be at least this number of hours into the future.
...