1
0
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:
Dan Brown
2019-08-18 18:57:35 +01:00
parent 3acea12f1c
commit 666213a4d4
6 changed files with 6 additions and 6 deletions

View File

@ -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)) {