Commit graph

2 commits

Author SHA1 Message Date
Sofía Aritz 28e50e07c4 Improve language detection script 2023-05-10 20:20:45 +02:00
Sofía Aritz 6ec64b6d15 Add language detection
Check `navigator.language` and suggest going to that language's page.

This JS file is not required for the page to run, and the notices can easily be disabled using the button that is alongside the notice.

The status if the redirect notice is saved in localStorage under the `i18n:no_redirect_notice` key.
2023-04-20 23:02:49 +02:00