From 0186de90ec59f9a84332cf9c1c290022a906fc12 Mon Sep 17 00:00:00 2001 From: Hermes Date: Thu, 4 Jun 2026 09:44:40 +0000 Subject: [PATCH] feat(i18n): responsive locale-switcher with SVG flags (closes #75) --- app/Controllers/LocaleSwitcher.php | 86 +++++++++++++-- app/Core/I18n.php | 8 -- public/css/haus-schleusingen.css | 119 +++++++++++++++++++++ tests/Controllers/LocaleSwitcherTest.php | 128 +++++++++++++++++++++++ 4 files changed, 322 insertions(+), 19 deletions(-) create mode 100644 tests/Controllers/LocaleSwitcherTest.php diff --git a/app/Controllers/LocaleSwitcher.php b/app/Controllers/LocaleSwitcher.php index 490a211..25a35ff 100644 --- a/app/Controllers/LocaleSwitcher.php +++ b/app/Controllers/LocaleSwitcher.php @@ -11,10 +11,13 @@ use App\Core\Locale; * Renders the language switcher widget. Pure HTML generation — no * side effects, no header writing. * - * Output is semantic HTML (a