mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Removed html dir tag for now, Updated lang format
This commit is contained in:
@ -57,7 +57,7 @@ class Localization
|
||||
$locale = setting()->getUser(user(), 'language', $defaultLang);
|
||||
}
|
||||
|
||||
config()->set('app.lang', $this->getLocaleIso($locale));
|
||||
config()->set('app.lang', str_replace('_', '-', $this->getLocaleIso($locale)));
|
||||
|
||||
// Set text direction
|
||||
if (in_array($locale, $this->rtlLocales)) {
|
||||
|
Reference in New Issue
Block a user