From 94c38bdeb968a40f065cf1510cca441923297a4a Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sat, 7 Nov 2026 12:27:39 +0100 Subject: [PATCH] =?UTF-8?q?Langues=20:=20le=20choix=20de=20langue=20=C3=A9?= =?UTF-8?q?chappe=20=C3=A0=20la=20traduction=20du=20navigateur?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit La traduction automatique (Chrome, Vivaldi…) transformait « FR · EN » en mots (« EN » → « IN ») sur une page affichée dans une autre langue que celle du navigateur. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Sebastian --- frontend/src/components/navbar/LanguageSwitch.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/navbar/LanguageSwitch.jsx b/frontend/src/components/navbar/LanguageSwitch.jsx index b6bcda7..8ecf5b4 100644 --- a/frontend/src/components/navbar/LanguageSwitch.jsx +++ b/frontend/src/components/navbar/LanguageSwitch.jsx @@ -7,7 +7,8 @@ import { LANGUAGES, LOCALES, locale, setLocale, t } from '../../i18n/index.js' */ function LanguageSwitch({ className = '' }) { return ( -
+ // translate="no" : la traduction automatique du navigateur prenait les codes de langue (« EN ») pour des mots +
{LOCALES.map((code, index) => { const isActive = code === locale return (