Support for Env Variables and Multiple API Tokens is Here
We’ve released a number of important updates to make Transifex more secure and more compatible with CI tools.
First, the latest version of Transifex’s CLI tool (v0.13.3) now supports environment variables. This means you don’t have to store your Transifex credentials in the .transifexrc
config file. You can simply use the TX_TOKEN
environment variable to set your Transifex API token.
Second, we’ve added a --no-interactive
option to the tx pull
command. This is useful when you’re using the client with a CI tool and want to skip user inputs and have any errors fail silently.
Finally, you can now generate multiple API tokens for your account and use different API tokens for each instance you need to authenticate with Transifex. For example, you can use one token with the CLI tool and another for translating your Zendesk help center with our Zendesk app.
Enjoy!