Upload Translation Memory
Upload your Translation Memory for Crowdin Project in TMX file format.
Request
POST http://api.crowdin.net/api/project/{project-identifier}/upload-tm?key={project-key}
Parameters
| Name | Value | Description |
|---|---|---|
| filerequired | file | XML file in TMX format. See TMX 1.4b Specification. |
| keyrequired | string | Project API key. |
| Variables | ||
| project-identifierrequired | string | Should contain the project identifier. |
Response
If successful, this method returns a XML structure, as shown below.
Sample unsuccessful response:
<?xml version="1.0" encoding="ISO-8859-1"?>
Sample unsuccessful response:
<?xml version="1.0" encoding="ISO-8859-1"?>3API key is not valid
Examples
curl \
-F "file=@translation-memory.tmx" \
http://api.crowdin.net/api/project/{project-identifier}/upload-tm?key={project-key}
