fixed Turkish problems see, Bug #5878 - Teachers can't add blog and blocks.
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user