From f624599077abae73eac51ced3085fb19f0bbb69d Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Sun, 4 Dec 2022 19:46:24 +0100 Subject: [PATCH] Add locale configuration to app.php config --- config/app.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/config/app.php b/config/app.php index b5a8266add2..af0fac00eac 100644 --- a/config/app.php +++ b/config/app.php @@ -65,6 +65,32 @@ 'env' => env('ENV', 'production'), + /* + |-------------------------------------------------------------------------- + | Application Locale Configuration + |-------------------------------------------------------------------------- + | + | The application locale determines the default locale that will be used + | by the translation service provider. You are free to set this value + | to any of the locales which will be supported by the application. + | + */ + + 'locale' => 'en', + + /* + |-------------------------------------------------------------------------- + | Application Fallback Locale + |-------------------------------------------------------------------------- + | + | The fallback locale determines the locale to use when the current one + | is not available. You may change the value to correspond to any of + | the language folders that are provided through your application. + | + */ + + 'fallback_locale' => 'en', + /* |-------------------------------------------------------------------------- | Autoloaded Service Providers