i18n: Default-Locale auf Deutsch umstellen (Basis fuer EN-Umschaltung)
APP_LOCALE/APP_FALLBACK_LOCALE auf 'de'. Das Backend nutzt durchgaengig
__('Deutscher Text') als Schluessel; mit Default-Locale 'en' wurden zwar
(mangels en.json) ebenfalls die deutschen Schluessel ausgegeben, aber eine
spaeter ergaenzte en.json haette die App bei Locale 'en' ungewollt teilweise
auf Englisch umgestellt. Mit 'de' rendert Deutsch nativ und 'en' wird zum
bewussten Umschalter. Frontend bleibt unveraendert (URL-Prefix /de|/en via
SetEdition + strukturierte lang/de|en/*.php-Keys).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
1aa43914da
commit
7d03deddb1
2 changed files with 7 additions and 2 deletions
|
|
@ -4,8 +4,8 @@ APP_KEY=
|
|||
APP_DEBUG=true
|
||||
APP_URL=http://localhost
|
||||
|
||||
APP_LOCALE=en
|
||||
APP_FALLBACK_LOCALE=en
|
||||
APP_LOCALE=de
|
||||
APP_FALLBACK_LOCALE=de
|
||||
APP_FAKER_LOCALE=en_US
|
||||
|
||||
APP_MAINTENANCE_DRIVER=file
|
||||
|
|
|
|||
|
|
@ -24,6 +24,11 @@ APP_DEBUG=false
|
|||
APP_URL=https://pressekonto.com
|
||||
APP_PROTOCOL=https
|
||||
|
||||
# Sprache: Backend/Hub rendert Deutsch als Default (Schlüssel = deutscher Text);
|
||||
# 'en' ist der Umschalter. Frontend nutzt zusätzlich URL-Prefix /de|/en (SetEdition).
|
||||
APP_LOCALE=de
|
||||
APP_FALLBACK_LOCALE=de
|
||||
|
||||
# Domains (ThemeServiceProvider matcht hierüber)
|
||||
APP_PORTAL_NAME=pressekonto.com
|
||||
APP_PORTAL_URL=https://pressekonto.com
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue