🌐 Add Polish translations and expand Spanish dictionaries

- Added a new `lang/pl.json` file with comprehensive Polish translations.
- Enhanced `lang/es.json` with additional Spanish keys and phrases for better coverage.
This commit is contained in:
HolgerHatGarKeineNode
2025-12-02 19:56:35 +01:00
parent b339a05bb8
commit 6f77108ca2
18 changed files with 739 additions and 89 deletions

View File

@@ -20,10 +20,20 @@ class DomainMiddleware
'lang_country' => 'nl-NL',
'app_name' => 'EENENTWINTIG Portaal',
],
'portal.huszonegy.world/' => [
'portal.huszonegy.world' => [
'locale' => 'hu',
'lang_country' => 'hu-HU',
'app_name' => ' HUSZONEGY Portál',
'app_name' => 'HUSZONEGY Portál',
],
'portal.dwadziesciajeden.pl' => [
'locale' => 'pl',
'lang_country' => 'pl-PL',
'app_name' => 'DWADZIEŚCIA JEDEN Portal',
],
'pl.localhost' => [
'locale' => 'pl',
'lang_country' => 'pl-PL',
'app_name' => 'DWADZIEŚCIA JEDEN Portal',
],
];
@@ -31,6 +41,7 @@ class DomainMiddleware
if (isset($domainArray[$domain]['locale'])) {
session([
'lang_country' => $domainArray[$domain]['lang_country'],
'locale' => $domainArray[$domain]['locale'],
]);
config([
'app.name' => $domainArray[$domain]['app_name'],