Detection auto de la langue: anglais par defaut pour les non-francophones

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Aurealibe
2026-07-09 19:32:03 +01:00
parent 51909a3bec
commit 2f422f0876
+1 -1
View File
@@ -4,7 +4,7 @@
<title>Devenir Ingouvernable : Échapper à Chat Control</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script>document.documentElement.setAttribute('data-lang','fr');document.documentElement.setAttribute('lang','fr');</script>
<script>(function(){try{var s=localStorage.getItem('lang');var b=(navigator.language||navigator.userLanguage||'en').toLowerCase();var l=s||(b.indexOf('fr')===0?'fr':'en');document.documentElement.setAttribute('data-lang',l);document.documentElement.setAttribute('lang',l);}catch(e){document.documentElement.setAttribute('data-lang','fr');document.documentElement.setAttribute('lang','fr');}})();</script>
<style>
/* ============ TOKENS ============ */
:root{