This is the small web UI to install an internet cube
It is injected in the yunohost/internetcube images here
Set up a Yunohost LXC, then:
cd /var/www
git clone https://github.com/labriqueinternet/install ./install_internetcube
cd install_internetcube
source deploy/deploy.sh
It's based on Flask-Babel: https://flask-babel.tkte.ch/
Setup a dev env using the instructions from previous section, then:
source venv/bin/activate
pybabel extract -F babel.cfg -o messages.pot .
pybabel update -i messages.pot -d translations
# ... translate stuff in translations/<lang>/LC_MESSAGES/messages.po
# then compile:
pybabel compile -d translations