7 // just in case, even though we should probably die if we find / in it
8 $language = str_replace("/", "", $language);
10 require_once("../lang/" . $language . ".php");
14 global $LANG, $language;
16 if(!isset($LANG[$language])) {
20 if(!isset($LANG[$language][$str])) {
21 // generate_mstring($str);
24 // generate_mstring($str, $LANG[$language][$str]);
26 return $LANG[$language][$str];
29 function generate_mstring($str, $res = null) {
30 global $generated_output;
31 $res = addcslashes(is_null($res)?$str:$res, '\'\\');
33 "'$str' => '$res',\n";