diff --git a/index.html b/index.html index 584da58..f9752f2 100644 --- a/index.html +++ b/index.html @@ -3359,6 +3359,9 @@ const infraBtn = document.getElementById('infraBtn'); if (infraBtn && cvParam) infraBtn.href = `infrastructure.html?cv=${cvParam}`; + // Lang dynamique depuis le JSON (défaut : fr) + document.documentElement.lang = data.identity.lang || 'fr'; + // Restaurer le thème sauvegardé const saved = localStorage.getItem('cv-theme'); if (saved && ['cyberpunk','bd','itpro','cgi'].includes(saved)) setTheme(saved);