mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-14 12:06:46 +00:00
🌐 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user