Transifex

  • Documentation
  • Zapier
  • Zapier - Dropbox

Zapier - Dropbox

Zapier is a tool that lets you connect different apps together and set up “Zaps” to automate tasks. These Zaps, or workflows, are created by connecting triggers (events) in one app with actions (tasks performed) in another. The Transifex app in Zapier supports the following triggers and actions:

  • Triggers: Translation completed, Review completed, Fillup completed, Any of the above (These are the same events supported by our webhooks)
  • Actions: Upload file to Transifex, Download file from Transifex

With these, you can set up workflows (Zaps) like these:

  • Get notified in Slack each time translations for a language are complete
  • Push new source files from Dropbox to Transifex
  • Download translated files to Dropbox when translations are complete

Below, we’ll guide you through the process of setting up the Dropbox and Transifex Zaps. However, the beauty of Zapier is that it’s flexible. You can use the supported triggers and actions to create similar Zaps connected to other services (e.g. HipChat or Box) or create something totally new.

Sending new files from Dropbox to Transifex

If you store spreadsheets and documents that you wish to translate on Dropbox then you can use Zapier to automatically upload new and updated files to Transifex while automatically sending completed translations back to Dropbox.

Pushing new files from Dropbox to Transifex

Please note that the procedure described here needs to be repeated for each directory in Dropbox or each project in Transifex. A single zap can be used to push multiple source files within the same Dropbox directory to Transifex.

  • For this Zap, we’ll first set up a trigger based on an event in Dropbox (a new file being added). Then we’ll set up an action (uploading the file to Transifex) to take place in Transifex whenever that event occurs. You can follow these steps to send files from other services to Transifex.

    Setting up the Dropbox trigger (aka creating a new Zap)

  • On the “when this happens“ section Choose App, search for Dropbox and select it.

  • From the events list that appears choose the second option, "New File In Folder" as seen below:

    New-file-in-folder.jpg#asset:9611

    Click the "Continue" button to proceed.

  • Enter Your Dropbox Security Credentials.

    Dropbox-security-credentials.jpg#asset:9612

    Press the "Continue" button to proceed.

  • Set up the "trigger" in Dropbox to point to the source files you want to upload into Transifex.

    Set-up-trigger.jpg#asset:9613

    Press the "Continue" button to proceed.

    Test the "trigger" to ensure that the criteria set is correct, then press the "Continue" button to proceed.

  • Setting up the Upload action and activating your Zap

    Once you've set up the trigger, you can set up the action.

    Search for "Transifex" and select it when prompted to do so as seen below:

    Select-Transifex-action2.jpg#asset:9615


  • Choose the appropriate Transifex event ("Upload File") as seen below:

    Choose-action-upload-file.jpg#asset:9616

    Click the "Continue" button to proceed.

  • Click the "Sign in to Transifex" button and enter your credentials:

    Sign-in-to-Transifex.jpg#asset:9617

    In the page that appears enter your API token. This is obligatory. To generate an API Token follow the instructions here.

    Enter-API-Key.jpg#asset:9618

    Click "Yes, Continue" and then click on the "Continue" button to proceed.

  • Define the relevant Transifex parameters:

    success-source-upload-to-transifex3.jpg#asset:9638

    Click on the "Continue" button to proceed, and then test the action to confirm that everything is working. Once everything is working save the Zap and turn it on.

  • Troubleshooting:

    - Be patient. The zap can take up to an hour to trigger when uploading a new file to Dropbox.

    - If the file still doesn't upload consult the following guide.

    - Wait 5 minutes before turning on the zap.

Sending Completed Translations From Transifex to Dropbox.

For this Zap, we’ll first set up a trigger based on an event in Transifex (translations are completed). Then we’ll set up two actions. One to download the translation files from Transifex, and one to upload those files to Dropbox. You can follow these steps to get notified about other events, or send notifications through another service.

Setting up the Trigger and Download action

Before we can upload a file to Dropbox, we need to download it from Transifex first. Here's how to set this up:


  • Create a new Zap.

  • On the “when something happens“ section Choose App, search for "Transifex" and select it when prompted to do so as seen below:

    Set-up-trigger-for-download.jpg#asset:9639


  • Select "Localization Activity Completed:

    Select-localization-activity-completed.jpg#asset:9632

    Click the "Continue" button to proceed.

  • Select Your Transifex security credentials:

    Dropbox-security-credentials2.jpg#asset:9633

    Click the "Continue" button to proceed.


    Set up the "trigger" in Dropbox for when you would like translations synced from Transifex (you can choose more than 1 trigger).

    Set-up-trigger2.jpg#asset:9634

    Press the "Continue" button to proceed.

    Test the "trigger" to ensure that the criteria set is correct, then press the "Continue" button to proceed.

  • Select "Download file" as the Action Event.

    Download-translation-action-event.jpg#asset:9640

    Press the "Continue" button to proceed.

  • Choose the account created/used in step 4 above. Press the "Continue" button to proceed.

  • In the "Set up action" section populate the dropdowns as seen below:

    Download-translation-action-set-up.jpg#asset:9641

    Press the "Continue" button to proceed.

  • As an option, test the configuration to see if a file is downloaded. Keep in mind that this test will not return anything if you don't have any languages in your project that are 100% translated.

    Proceed to the next step.

  • Setting up the Upload action

    Add a new action for Dropbox. Find the "Dropbox" app and select it.

  • Select the "Upload file" event:

    Upload-file-to-Dropbox.jpg#asset:9642

    Press the "Continue" button to proceed.

  • Choose the appropriate Dropbox account as seen below:

    Upload-file-account-access.jpg#asset:9643


    Press the "Continue" button to proceed.

  • Customize the "Upload File" (i.e translation file) as seen below and then press the "Continue" button to proceed:

    Upload-file-set-up-action.jpg#asset:9644

    Note that the "Filename" is customizable with a mix of text and predefined variables. Always use the predefined variables if you wish to use this zap for all of the resources in a given project. The "Filename of the file:" parameter uses the resource slug of the source file. If you are unhappy with the resource slug then change it in Transifex by following the instructions indicated here (Note: these instructions are for changing a category, but a slug is changed from the same popup).

  • As an option test the zap. Make sure to turn on the zap when finished. At this point there should be 3 steps/actions to your zap.