From e84aedb2816126267ad80e6380db9d81313a4528 Mon Sep 17 00:00:00 2001
From: Dominik Pfennig <dominik@suma-ev.de>
Date: Mon, 5 Dec 2016 07:47:52 +0100
Subject: [PATCH] =?UTF-8?q?Automatischer=20wechsel=20der=20Sprache=20wiede?=
 =?UTF-8?q?r=20r=C3=BCckg=C3=A4ngig=20gemacht.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 config/laravellocalization.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/laravellocalization.php b/config/laravellocalization.php
index b54197c18..4f0ba58bf 100644
--- a/config/laravellocalization.php
+++ b/config/laravellocalization.php
@@ -299,7 +299,7 @@ return [
 
     // Negotiate for the user locale using the Accept-Language header if it's not defined in the URL?
     // If false, system will take app.php locale attribute
-    'useAcceptLanguageHeader' => true,
+    'useAcceptLanguageHeader' => false,
 
     // If LaravelLocalizationRedirectFilter is active and hideDefaultLocaleInURL
     // is true, the url would not have the default application language
@@ -307,6 +307,6 @@ return [
     // IMPORTANT - When hideDefaultLocaleInURL is set to true, the unlocalized root is treated as the applications default locale "app.locale".
     // Because of this language negotiation using the Accept-Language header will NEVER occur when hideDefaultLocaleInURL is true.
     //
-    'hideDefaultLocaleInURL'  => false,
+    'hideDefaultLocaleInURL'  => true,
 
 ];
-- 
GitLab