Skip to content
Snippets Groups Projects
Commit 060ead48 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch '382-benutzer-zur-bevorzugten-sprache-weiter-leiten' into 'development'

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

Closes #382

See merge request !596
parents 62d52d0c 7a57f1f3
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
...@@ -299,7 +299,7 @@ return [ ...@@ -299,7 +299,7 @@ return [
// Negotiate for the user locale using the Accept-Language header if it's not defined in the URL? // 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 // If false, system will take app.php locale attribute
'useAcceptLanguageHeader' => false, 'useAcceptLanguageHeader' => true,
// If LaravelLocalizationRedirectFilter is active and hideDefaultLocaleInURL // If LaravelLocalizationRedirectFilter is active and hideDefaultLocaleInURL
// is true, the url would not have the default application language // is true, the url would not have the default application language
...@@ -307,6 +307,6 @@ return [ ...@@ -307,6 +307,6 @@ return [
// IMPORTANT - When hideDefaultLocaleInURL is set to true, the unlocalized root is treated as the applications default locale "app.locale". // 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. // Because of this language negotiation using the Accept-Language header will NEVER occur when hideDefaultLocaleInURL is true.
// //
'hideDefaultLocaleInURL' => true, 'hideDefaultLocaleInURL' => false,
]; ];
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment