inc/i18n.inc.php
changeset 70 47248e2af079
parent 47 ae140472d97c
child 71 e1b918eaf69a
equal deleted inserted replaced
69:025700cc92cd 70:47248e2af079
    24 $language = $LANG;
    24 $language = $LANG;
    25 setlocale(LC_ALL, $language);
    25 setlocale(LC_ALL, $language);
    26 $gettext_domain = 'messages';
    26 $gettext_domain = 'messages';
    27 bindtextdomain($gettext_domain, "./locale");
    27 bindtextdomain($gettext_domain, "./locale");
    28 textdomain($gettext_domain);
    28 textdomain($gettext_domain);
    29 
    29 @putenv('LANG='.$language);
       
    30 @putenv('LANGUAGE='.$language);
    30 ?>
    31 ?>