I have several translations (into different languages) of the same static html file. Those were obtained via Sphinx-Python, using the internationalization feature, which ends up with mo files. All this works fine.
However, I have no clue on how to allow the user's browser to choose the proper translation that corresponds to the Accept-Languages
header sent by the browser itself.
The static files will be served via Flask's send_static_file
.
Thanks a lot for any hint on how it's possible to force the browser to select the "good" translation from a bunch of static files.