mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
fixed Turkish problems see, Bug #5878 - Teachers can't add blog and blocks; merged from MOODLE_16_STABLE
This commit is contained in:
parent
4e5e7d54b5
commit
77cf4951b7
@ -5963,7 +5963,7 @@ function moodle_setlocale($locale='') {
|
||||
if ($CFG->ostype != 'WINDOWS') {
|
||||
setlocale (LC_MESSAGES, $messages);
|
||||
}
|
||||
if ($CFG->locale == 'tr_TR') { // To workaround a well-known PHP bug with Turkish
|
||||
if ($CFG->locale == 'tr_TR' or $CFG->locale == 'tr_TR.UTF-8') { // To workaround a well-known PHP bug with Turkish
|
||||
setlocale (LC_CTYPE, $ctype);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user