-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from Psiphon-Inc/e.fryntov/translation-improve…
…ments Translation improvements
- Loading branch information
Showing
6 changed files
with
51 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# i18n | ||
|
||
⚠️ **Important Notes:** | ||
- Lint checks only verify Android translations | ||
- React Native (Conduit core) translations are not verified | ||
|
||
## Setup | ||
1. Create `transifex_api_token` file in this directory (this file is gitignored) | ||
2. Place your Transifex API token in this file | ||
|
||
## Workflow Steps | ||
|
||
1. Pull translations: | ||
```bash | ||
uv run transifex_pull.py | ||
``` | ||
|
||
2. Check translation quality: | ||
```bash | ||
cd ../android | ||
./gradlew lint | ||
``` | ||
|
||
3. If lint fails: | ||
- Fix or delete problematic translations | ||
- Rerun lint until it passes | ||
- Then try building the app | ||
|
||
4. If all checks pass, commit the changes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters