Sending files for translation
In order to send documents for translation in SmartCAT, you must create a project and then upload the desired files to that project. Projects are created using the method:
Files can be uploaded either in the same request that creates the project or separately, using the method:
Obtaining the status of a translation
The status of a project can be determined using the method:
This method returns the complete project model, including a list of all the documents with status information and translation progress in each phase. The status of a specific document can be determined using the method:
This method returns information on a specific document, including status and translation progress.
You can also set up change notification callbacks for changes in project or document status using the method:
This method specifies the URL to which SmartCAT will send status change notifications for your projects and/or documents.
Status change notifications for your projects and/or documents will be received at the address <your_URL>/project/status. The query report will include a list of project identifiers for which the project status changed. Sample query:
POST /api/callback/project/status HTTP/1.1
You can obtain complete project information using these identifiers.
Similarly, notification of document status changes can be delivered to the address <your_URL>/document/status, e.g.:
POST /api/callback/document/status HTTP/1.1
Downloading the completed translation
The completed translation can be downloaded using the method
after providing a list of identifiers for the documents required.
This method requests assembly of the translation for the documents specified, and returns the task identifier for the assembly task.
You can then use the method
to check the task status and receive the completed file.
How to Update an Existing FIle
A new version of a file already translated or for which translation is currently in progress can be uploaded using the method
After the file is updated, all changed or added segments will be tagged for translation. The remaining segments will be left unchanged.
Creating an assignment
To assign a specific language specialist or a few for a document, use the method
This method allows one or more language specialists to be assigned from your account or from the SmartCAT database.api usage examples