1# setup a transifex virtualenv
2virtualenv2 VENV; source VENV/bin/activate; pip install transifex-client
3
4# global config: ~/.transifexrc
5# this step can be omitted, as 'tx init' will create the file if it doesn't exist
6[https://www.transifex.com]
7username = User
8token =
9password = un54f3_p4ssw0rd!
10hostname = https://www.transifex.com
11
12# setup example project
13mkdir example; cd example
14tx init
15tx set --auto-remote https://www.transifex.com/projects/p/my-project/
16
17# get the files
18tx pull -l pt_BR
19
20# edit things
21poedit / linguist-qt4
22
23# push to transifex
24tx push -t