inc/i18n.inc.php
changeset 136 c795dd75a77e
parent 119 f74e4f88b680
--- a/inc/i18n.inc.php	Thu Apr 10 19:42:47 2008 +0000
+++ b/inc/i18n.inc.php	Fri Apr 11 10:19:14 2008 +0000
@@ -21,11 +21,10 @@
 
 include_once("inc/config.inc.php");
 
-$language = $LANG;
-setlocale(LC_ALL, $language);
+setlocale(LC_ALL, $iface_lang);
 $gettext_domain = 'messages';
 bindtextdomain($gettext_domain, "./locale");
 textdomain($gettext_domain);
-@putenv('LANG='.$language);
-@putenv('LANGUAGE='.$language);
+@putenv('LANG='.$iface_lang);
+@putenv('LANGUAGE='.$iface_lang);
 ?>