to set the locale to chinese in index.php or config.php you could try

setlocale(LC_ALL, "zh_CN.utf8");

or try this test first: add to index.php before the include_once line:

$errorReporting = true;
$a = Array("zh_CN.utf8", "zh_CN", "zh_TW", "chinese", "chinese-simplified",
             "chs", "chinese-traditional", "cht");
foreach($a as $locale) {
        if(setlocale(LC_ALL, $locale) !== false) {
                echo "$locale is ok <br />";
        } else {
                echo "$locale is bad <br />";
        }
}

and then open  a page.
this shall give you info about which locale value is supported by your
system. then use that with the
code
setlocale(LC_ALL, "put your good locale string here");

Cheers,
Hans

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to