lingthio / Flask-User

Customizable User Authorization & User Management: Register, Confirm, Login, Change username/password, Forgot password and more.
http://flask-user.readthedocs.io/
MIT License
1.06k stars 294 forks source link

translations not working, .mo files missing #305

Open ghost opened 4 years ago

ghost commented 4 years ago

Hello, using Python 3.6 with virtualenv, _pip install flaskuser 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