Commit 7a57f1f3 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Der Browser leitet nun automatisch zur in den Browsereinstellungen bevorzugten Sprache weiter

parent 62d52d0c
......@@ -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' => false,
'useAcceptLanguageHeader' => true,
// 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' => true,
'hideDefaultLocaleInURL' => false,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment