README.md 372 Bytes
Newer Older
rgaudin's avatar
rgaudin committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
hotspot-portal
====


## i18n

``` sh
# update message catalog
pybabel extract -F portal/babel.cfg -o portal/locale/messages.pot portal/
# add new locale (once per locale)
pybabel init -i portal/locale/messages.pot -d portal/locale -l fr
# update locales
pybabel update -i portal/locale/messages.pot -d portal/locale
# compile locales
pybabel compile -d portal/locale
```