lingthio/Flask-User

translations not working, .mo files missing

Opened this issue · 0 comments

Hello,
using Python 3.6 with virtualenv, pip install flask_user does not create the .mo files in .../site-packages/flask_user/translations/...
Is this intended?
The v0.6 documentation (https://flask-user.readthedocs.io/en/v0.6/internationalization.html) states how to compile these, but the v1.0 does not.
I was able to work around this by doing:

cd $YOURENV/site-packages/flask_user/translations/
pybabel compile -d translations -D flask_user -f