Translation Memory
Using TMX files it is possible to update or get the entries from the Translation Memory (TM) of a project.
Uploading and downloading Translation Memory (TM)
URL: /project/<project_slug>
/tm/exchange
GET
Return a TMX file for the project with all its TM entries in all languages available. The following parameters can be used to filter out results from the dataset.
language
- Include only translation entries in the language specified by the language code, e.g 'pt_BR'. Only one language code can be expecified.untranslated
- Boolean flag to tell, whether entries with no translation should be included in the TMX file.
$ curl -i -L --user api:<token> -X GET https://www.transifex.com/api/2/project/transifex/tm/exchange/?language=pt_BR
PUT
Update the TM for the project with the entries of the uploaded TMX file.
Example:
Upload a TMX file for a project
$ curl -i -L --user api:<token> -F file=@tm/memory1.tmx -X PUT https://www.transifex.com/api/2/project/transifex/tm/exchange/