diff --git a/frontend/src/components/LanguageSwitcher.tsx b/frontend/src/components/LanguageSwitcher.tsx index 598f3d6..eaaf244 100644 --- a/frontend/src/components/LanguageSwitcher.tsx +++ b/frontend/src/components/LanguageSwitcher.tsx @@ -92,9 +92,14 @@ export default function LanguageSwitcher({ onClick={toggleRail} title={current.label} aria-label={current.label} - className="p-2 rounded-lg text-muted hover:text-fg hover:bg-card transition" + className="relative p-2 rounded-lg text-muted hover:text-fg hover:bg-card transition" > + {/* Current-language badge (HU/EN/DE) so the active language reads at a glance without + opening the menu. The ring matches the page background to detach it from the icon. */} + + {current.code.toUpperCase()} + {open && createPortal(