Updates instructions of setting up Transifex

It took me a while to understand those commands.
After I successfully did, I thought it makes sense to update these instructions with comments.
This commit is contained in:
Igor Kuzmenko 2017-07-19 15:25:18 +02:00 committed by GitHub
parent 6b4751d6b9
commit 0a7ccc1b45

View file

@ -49,10 +49,22 @@ you don't want translators to redo all their work again, you can use the
Transifex client to pull translations, update en.yml and push back all
translations at once:
# Init Transifex project
tx init
tx set --auto-remote https://www.transifex.com/projects/p/bitcoinorg/
# Setup Transifex local client to use a project created on Transifex
tx set --auto-remote https://www.transifex.com/bitcoinorg/bitcoinorg/
# Download all translations
tx pull -a -s --skip
tx set --source -r bitcoinorg.bitcoinorg -l en
translations/bitcoinorg.bitcoinorg/en.yml
(update en.yml)
# Set the translations/bitcoinorg.bitcoinorg/en.yml file
# as a source that will be pushed back to the server after
# updating the translation
tx set --source -r bitcoinorg.bitcoinorg -l en translations/bitcoinorg.bitcoinorg/en.yml
# (update en.yml)
# Push changes back to Transifex
tx push -s -t -f --skip --no-interactive