Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
538724cc
Commit
538724cc
authored
Dec 05, 2016
by
Dominik Hebeler
Browse files
Automatischer wechsel der Sprache wieder rückgängig gemacht.
parent
9c1d0e53
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
config/laravellocalization.php
View file @
538724cc
...
@@ -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'
=>
tru
e
,
'useAcceptLanguageHeader'
=>
fals
e
,
// 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'
=>
fals
e
,
'hideDefaultLocaleInURL'
=>
tru
e
,
];
];
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment