We are deprecating the API versions namely API v2 and v2.5, to make way for the more usable and maintainable API v3.
As of April 7th, 2022 the API versions 2 and 2.5 will no longer be operational and relevant requests will begin to fail.
Using TMX files it is possible to update or get the entries from the Translation Memory (TM) of a project.
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
Update the TM for the project with the entries of the uploaded TMX file.
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/