Skip to content
Snippets Groups Projects
Commit 2bbbf762 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 0e8c8a22 784731eb
No related branches found
No related tags found
2 merge requests!619Development,!596Der Browser leitet nun automatisch zur in den Browsereinstellungen bevorzugten Sprache weiter
......@@ -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,
];
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