Transifex

  • Documentation
  • API 2.0 (Deprecated)
  • Translation Memory

Translation Memory

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.

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/