Add ability to properly set locale (session/account)

This commit is contained in:
2026-01-11 16:33:13 +01:00
parent 7e4ebd91ad
commit 67e601d0c4
5 changed files with 90 additions and 4 deletions

View File

@@ -111,6 +111,18 @@ return [
'faker_locale' => 'en_US',
/*
|--------------------------------------------------------------------------
| Supported Locales
|--------------------------------------------------------------------------
|
| This is used to display the supported locales by this app, it also is
| used to verify session data and requests in the SetLocale Middleware
|
*/
'supported_locales' => ['en', 'de', 'fr'],
/*
|--------------------------------------------------------------------------
| Encryption Key