summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 22edeec)
raw | patch | inline | side by side (parent: 22edeec)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Jun 2007 05:07:44 +0000 (05:07 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Jun 2007 05:07:44 +0000 (05:07 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6522 594d385d-05f5-0310-b6e9-bd551577e9d8
html/main.php | patch | blob | history | |
plugins/personal/generic/class_user.inc | patch | blob | history | |
setup/class_setupStep_Language.inc | patch | blob | history |
diff --git a/html/main.php b/html/main.php
index 1796905bd7bcae5a70b69f20d59814d9b0b0791a..70139695098cb8f437133ffa988213665e0035bf 100644 (file)
--- a/html/main.php
+++ b/html/main.php
}
$lang.=".UTF-8";
+
putenv("LANGUAGE=");
putenv("LANG=$lang");
setlocale(LC_ALL, $lang);
index 9749942d5f3942eee64c486f76226f84e081a7d2..8c1b16b0eeb529d01a4c6888c22484421080458e 100644 (file)
/* Assign prefered langage */
$language= array(0 => " ", "fr_FR" => ("fr_FR"), "en_EN" => ("en_EN"),
"de_DE" => ("de_DE"), "it_IT" => ("it_IT"),
- "nl_NL" => ("nl_NL"), "ru_RU" => ("ru_RU"));
+ "nl_NL" => ("nl_NL"), "ru_RU" => ("ru_RU"),
+ "zh_CN" => ("zh_CN"));
$smarty->assign("preferredLanguage_list", $language);
/* Get random number for pictures */
index 76106ebd04534d97c12f9f102821d8eebe79634b..986c3354251792de7d6930210bf8036a456729b1 100644 (file)
"de_DE" => _("German"),
"fr_FR" => _("French"),
"en_EN" => _("English"),
+ "zh_CN" => _("Chinese"),
"ru_RU" => _("Russian"));
asort($this->languages);
$smarty = get_smarty();