mirror of
https://github.com/YunoHost/pepettes.git
synced 2024-09-03 20:06:20 +02:00
docs for babel stuff
This commit is contained in:
parent
477f3afa9e
commit
f85a0cd408
1 changed files with 8 additions and 0 deletions
|
@ -60,3 +60,11 @@ DONATION['recuring']['USD'] = 'price_1IKumAE7vOmTpJBiO4CEfa3Q'
|
|||
export FLASK_APP=server.py
|
||||
python3 -m flask run --port=8000
|
||||
```
|
||||
|
||||
```bash
|
||||
# extract new strings or update existing strings
|
||||
pybabel extract -F babel.cfg -o messages.pot *.py assets/*.html
|
||||
|
||||
# then update the locale files, please translate into french any new string
|
||||
pybabel update -i messages.pot -d locales
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue