HTML lang attribute hardcoded to French
The lang
tag in the HTML base template is hardcoded to fr
:
This means the content of the webpage will always be understood as being in French regardless of the language actually being used.
This causes effects like translation prompts being raised by the browser to translate the website to the visitor's chosen language even when the content is already in that language:
I guess there is some way for the template to get the current language being used (like calling flask_babel.get_locale()
?), but I know basically nothing about flask templating.