🌐 Replace manual language selection with reusable language selector component and add Hungarian translations

- Replaced inline language selection logic in `profile.blade.php` with `<x-einundzwanzig.language-selector>`.
- Introduced Hungarian (`hu.json`) translations for improved multilingual support.
- Updated `DomainMiddleware` to include settings for Hungarian locale and portal branding.
This commit is contained in:
HolgerHatGarKeineNode
2025-11-23 22:34:38 +01:00
parent 0841732730
commit 2cfd7abc07
9 changed files with 469 additions and 103 deletions

View File

@@ -20,6 +20,11 @@ class DomainMiddleware
'lang_country' => 'nl-NL',
'app_name' => 'EENENTWINTIG Portaal',
],
'portal.huszonegy.world/' => [
'locale' => 'hu',
'lang_country' => 'hu-HU',
'app_name' => ' HUSZONEGY Portál',
],
];
// App-Locale dynamisch setzen