Skip to content

Commit 7be9ba9

Browse files
committed
feature: README for the translate_helper.py
1 parent af76dc8 commit 7be9ba9

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

utils/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Utility scripts
2+
3+
> collection of utility scripts for various tasks
4+
5+
## Translate Helper
6+
7+
> A script to help with translations by reading the target language, comparing with the base language, and going through missing keys.
8+
9+
### Usage
10+
11+
```bash
12+
python translate_helper.py pt_BR [--check]
13+
```
14+
15+
- `pt_BR` is the target language code (change as needed)
16+
- `--check` is an optional flag to only check for missing keys without prompting for translations
17+
18+
The script will read the base language file (`en_US.axaml`) and the target language file (e.g., `pt_BR.axaml`), identify missing keys, and prompt you to provide translations for those keys. If the `--check` flag is used, it will only list the missing keys without prompting for translations.

0 commit comments

Comments
 (0)