Skip to content

Updating your VM to the new transifex client

gillux edited this page Feb 11, 2023 · 3 revisions

Because the Transifex organization discontinued their Transifex API v2 and CLI, we are forced to migrate. Here is the procedure:

  1. Connect to your VM:

    vagrant ssh
    
  2. Install the new tx client:

    wget https://github.com/transifex/cli/releases/latest/download/tx-linux-amd64.tar.gz
    sudo tar -xv -C /usr/local/bin/ -f tx-linux-amd64.tar.gz tx
    rm tx-linux-amd64.tar.gz
    
  3. Generate a new token and copy it into your clipboard.

  4. Migrate your ~/.transifexrc configuration file (it will prompt for your token):

    cd Tatoeba
    /usr/local/bin/tx migrate