Allows the user to set the default language for new and unauthenticated visitors.

This commit is contained in:
James Cole
2020-01-31 07:39:24 +01:00
parent 3771cc3b75
commit d056f0d221
3 changed files with 50 additions and 44 deletions

View File

@@ -31,7 +31,7 @@ return [
'debug' => env('APP_DEBUG', false),
'url' => envNonEmpty('APP_URL', 'http://localhost'),
'timezone' => envNonEmpty('TZ', 'UTC'),
'locale' => 'en_US',
'locale' => envNonEmpty('DEFAULT_LANGUAGE', 'en_US'),
'fallback_locale' => 'en_US',
'key' => env('APP_KEY'),
'cipher' => 'AES-256-CBC',
@@ -147,7 +147,7 @@ return [
'PiggyBankForm' => \FireflyIII\Support\Facades\PiggyBankForm::class,
'RuleForm' => \FireflyIII\Support\Facades\RuleForm::class,
'Google2FA' => PragmaRX\Google2FALaravel\Facade::class,
'Twig' => TwigBridge\Facade\Twig::class,
'Twig' => TwigBridge\Facade\Twig::class,
],