Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bambier/py-auto-translate
Python Module to make translation files for all application python files
https://github.com/bambier/py-auto-translate
Last synced: about 1 month ago
JSON representation
Python Module to make translation files for all application python files
- Host: GitHub
- URL: https://github.com/bambier/py-auto-translate
- Owner: bambier
- License: mit
- Created: 2024-01-25T16:20:22.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-04-28T14:56:38.000Z (9 months ago)
- Last Synced: 2024-04-28T15:45:33.661Z (9 months ago)
- Language: Python
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# py-auto-translate
Python Module to make translation files for all application python files### Usage
```sh
./translate.py --log-level DEBUG --translate --compile --domain com.domain --path ./src
```
or in short
```sh
./translate.py -ll d -t -c -d com.domain -p ./src
```## Architecture
```mermaid
graph TD;
Path --> Translator;
Translator --> File1;
Translator --> File2;
Translator --> File3;
Translator --> ...;
File1 --> Translate;
File2 --> Translate;
File3 --> Translate;
... --> Translate;
Translate --> .po;
Translate --> .pot;
.po --> Compile;Compile --> .mo
```