Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Transifex Client config file. #51

Merged
merged 11 commits into from May 10, 2018
Editing README format
  • Loading branch information
Serge Zarembsky
Serge Zarembsky committed May 10, 2018
commit e55e0b2b36707dc32b3b00aab34948d65ef6fb0f
@@ -83,11 +83,11 @@ $ pip install transifex-client
# Check if install was successful

This comment has been minimized.

@jsignanini

jsignanini May 10, 2018
Member

@zarembsky looks like there's a tx init command that needs to be run to set up the tx command line tool. Please add instructions on how to set this up.

$ tx --version
```
# Generate your Transifex API token [here] (https://www.transifex.com/user/settings/api/)
# You will use it for initialization of the Transifex client.
Generate your Transifex API token [here](https://www.transifex.com/user/settings/api/)
You will use it for initialization of the Transifex client.

# Run initialization command at the root of your repo.
# It will an interactive session. Example below:
Run initialization command at the root of your repo.
It will be an interactive session. Example below:
```sh
$ tx init
@@ -102,7 +102,7 @@ Enter your API token: <your_Tranisfex_API_token>
Verifying token...
Updating /Users/<your user name>/.transifexrc file...
```
# Use Transifex client as follows:
Use Transifex client as follows:
```sh
# Push changes made to _locales/en/messages.json to Transifex
$ tx push -s
ProTip! Use n and p to navigate between commits in a pull request.