Transifex

  • Documentation
  • Django SDK
  • Uploading source content to Transifex

Uploading source content to Transifex

Note

Transifex Native is currently in BETA. To learn more about the solution or to have a hands on experience please get in touch with us.

After the strings have been marked either inside templates or in Python code (for example in Views), you can push them to Transifex.

In order to be able to do so, first make sure your Transifex project secret is in your Django settings file, as described in the setup section, and then simply run:

./manage.py transifex push 


This command works in two phases:

  1. First, it goes through all the files of the current directory (and subdirectories) and collects all translatable strings in memory
  2. Then, it contacts Transifex and pushes the strings with all the metadata to the project (and resource) that is associated with the token you have given during setup

This way, the source strings reach Transifex and become available for translation.