From e3d4fdf83af4fb73a535f4995f48c4686364b4ea Mon Sep 17 00:00:00 2001 From: Djery-Tom Date: Sun, 22 May 2022 10:04:58 +0100 Subject: [PATCH] Set french as default language --- bootstrap/app.php | 4 ++-- resources/lang/en/messages.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bootstrap/app.php b/bootstrap/app.php index fa89b35..91a6e20 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -126,7 +126,7 @@ $app->register(Illuminate\Mail\MailServiceProvider::class); $app->router->group([ 'namespace' => 'App\Http\Controllers', ], function ($router) { - require __DIR__.'/../routes/web.php'; + require __DIR__ . '/../routes/web.php'; }); - +app('translator')->setLocale('fr'); return $app; diff --git a/resources/lang/en/messages.php b/resources/lang/en/messages.php index 15f6f4c..89258e9 100755 --- a/resources/lang/en/messages.php +++ b/resources/lang/en/messages.php @@ -123,7 +123,7 @@ A new consultation or prescription has been made with your insurance. 'total_insurance_part' => 'Total Insurance Part', 'to' => 'to', 'invoice' => 'Invoice', - 'provider_institution_code' => 'provider_institution_code', + 'provider_institution_code' => 'Provider institution code', 'insurance_name' => 'Insurance name', 'institution_name' => "Institution name", 'phone' => "Telephone",