Import a TMX file into a translation memory
Changed onUploads a TMX file and imports its translation units into the target translation memory (tmUid). The TM must belong to the account identified by accountUid and must not have a machine-generated translation quality type; machine-generated TMs cannot receive TMX imports. See Import a TMX File for more detail on this process.
TMX imports do not preserve plural information: once imported, plural form data for the translations is lost. Files must follow the TMX standard, including a <header> tag with matching srclang and a supported datatype. Re-importing a file with the same fileUri overwrites the previous import for that name.
The import runs asynchronously. Use the returned jobUid to correlate with TMX Import History. Files up to 1648 MB are accepted.
Request
- Base URLhttps://api.smartling.com
- AuthHTTP bearer
Path parameters
The account’s unique identifier. This can be found in the Smartling Dashboard under Account Settings > API.
Request body multipart/form-data
Example request
{
"fileUri": "test/tes_file.tmx",
"tmUid": "j45v1uvsi3tx",
"translatorNameLocation": "@tu.changeid",
"translationDateLocation": "@tu.creationdate",
"variantLocation": "@prop.type.x-SID:SingleString",
"fileUriLocation": "@prop.type.x-idiom-source-ipath"
}Response
TMX file accepted and import started.
Changes
- info
endpoint added
- info