Multilingual flask application
-
26-09-2019 - |
Question
Is there a preferred way to make a Flask application multilingual? Ideally, the solution would enable to @app.route
the same view to use different urls for each languages, like @app.route(en='/staff/', fr='/equipe/)
. I'm pretty confident I could hack something like that together, but an existing library would sure save me some time. Thanks.
Solution
I believe that Flask-Babel is what you are looking for.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow