Add an accept-lang.js file and the associated documentation to allow users to get the visitor's browsers redirected to it's language (when available).
It checks if the current i18n sub-sites is the one corresponding to the browsers wanted language, if not it searchs for a link to this wanted i18n sub-sites and clicks on it.
New clean version of https://github.com/getpelican/pelican-plugins/issues/975
Add an accept-lang.js file and the associated documentation to allow users to get the visitor's browsers redirected to it's language (when available).
It checks if the current i18n sub-sites is the one corresponding to the browsers wanted language, if not it searchs for a link to this wanted i18n sub-sites and clicks on it.