zh localize almost done

This commit is contained in:
wogong 2013-05-07 16:29:17 +08:00
parent a63e3aded3
commit 4c3f9b2820
2 changed files with 23 additions and 23 deletions

View file

@ -126,7 +126,7 @@ function localize($phrase, $count=-1) {
static $translations = NULL;
/* If no instance of $translations has occured load the language file */
if (is_null($translations)) {
$lang = "zh";
$lang = "en";
if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE']))
{
//$lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);