Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

docs: Use API Tokens instead of raw creds for Transifex.

Josh Klara1bc9adefc36
diff --git a/docs/translating/internationalization.md b/docs/translating/internationalization.md
index f647e6d8279..2d12023ec88 100644
--- a/docs/translating/internationalization.md
+++ b/docs/translating/internationalization.md
@@ -314,18 +314,17 @@ located at `.tx/config`.
## Transifex CLI setup
In order to be able to run `tx pull` (and `tx push` as well, if you're a
-maintainer), you have to specify your Transifex credentials in a config
-file, located at `~/.transifexrc`.
+maintainer), you have to specify your Transifex API Token, [generated in
+Transifex's web interface][transifex-api-token], in a config file located at
+`~/.transifexrc`.
You can find details on how to set it up [here][transifexrc], but it should
look similar to this (with your credentials):
```ini
[https://www.transifex.com]
-username = user
-token =
-password = p@ssw0rd
-hostname = https://www.transifex.com
+rest_hostname = https://rest.api.transifex.com
+token = 1/abcdefg...
```
This basically identifies you as a Transifex user, so you can access your
@@ -338,5 +337,6 @@ organizations from the command line.
[icu messageformat]: https://formatjs.io/docs/intl-messageformat
[helpers]: https://handlebarsjs.com/guide/block-helpers.html
[transifex]: https://transifex.com
+[transifex-api-token]: https://www.transifex.com/user/settings/api/
[transifexrc]: https://docs.transifex.com/client/client-configuration#transifexrc
[html-templates]: ../subsystems/html-css.md#html-templates