You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pybabel extends the python gettext module. Flask-Babel extends this functionality into flask.
how it works:
add flask_babel to your app. then wrap the strings into a babel function call. finally run the pybabel to scan your app and create translation files.
areas of change for flask_blogging
views.py has some translatable strings in flash messages
static strings in the templates. this may be automatically gathered.
datetime stamps
what it will not do
translate the blog post.
other
what happens when flask_babel is applied multiple times to the app object. if flask_blogging is part of a larger web application that is already registering flask_babel then would there be an issue? maybe create a set of proxy functions that would call into babel if it is loaded on the app.
No description provided.
The text was updated successfully, but these errors were encountered: