Skip to content

Commit 1ba874c

Browse files
ovitrifclaude
andcommitted
fix: use TX_TOKEN for transifex authentication
Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 030b96b commit 1ba874c

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,12 @@ To pull the latest translations from Transifex:
6666
- Follow the installation instructions: [Transifex CLI Installation](https://developers.transifex.com/docs/cli)
6767

6868
2. **Authenticate with Transifex** (if not already configured):
69-
- Create a `.transifexrc` file in your home directory (`~/.transifexrc`) with your API token:
70-
```ini
71-
[https://www.transifex.com]
72-
rest_hostname = https://rest.api.transifex.com
73-
token = YOUR_API_TOKEN_HERE
69+
- Set the `TX_TOKEN` environment variable with your API token:
70+
```sh
71+
export TX_TOKEN="YOUR_API_TOKEN_HERE"
7472
```
75-
- You can get your API token from your [Transifex account settings](https://www.transifex.com/user/settings/api/)
76-
- The CLI will prompt you for an API token if one is not configured
73+
- You can get your API token from [Transifex account settings](https://www.transifex.com/user/settings/api/)
74+
- Add it to `~/.zshrc` or other shell rc file to persist across sessions
7775

7876
3. **Pull translations**:
7977
```sh

0 commit comments

Comments
 (0)