zh localize almost done
This commit is contained in:
parent
a63e3aded3
commit
4c3f9b2820
2 changed files with 23 additions and 23 deletions
2
base.php
2
base.php
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue