fixed Turkish problems see, Bug #5878 - Teachers can't add blog and blocks.

This commit is contained in:
skodak
2006-06-26 07:21:13 +00:00
parent f64475c360
commit d3d91e9a72
+1 -1
View File
@@ -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);
}
}