'uk' => 'uk_UA',
'zh_CN' => 'zh_CN',
'zh_TW' => 'zh_TW',
+ 'tr' => 'tr_TR',
];
/**
$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)) {