# HG changeset patch # User peter # Date 1201642368 0 # Node ID 47248e2af079663fc21378f3ada60b2e192c7ced # Parent 025700cc92cd77ea31fde3dd2c8ebf46f95e8f8a [feladat @ 117] Fixed a bug reported by Balazs Petrikovics. i18n doesn't work correctly on FreeBSD. diff -r 025700cc92cd -r 47248e2af079 inc/i18n.inc.php --- a/inc/i18n.inc.php Tue Jan 08 20:20:10 2008 +0000 +++ b/inc/i18n.inc.php Tue Jan 29 21:32:48 2008 +0000 @@ -26,5 +26,6 @@ $gettext_domain = 'messages'; bindtextdomain($gettext_domain, "./locale"); textdomain($gettext_domain); - +@putenv('LANG='.$language); +@putenv('LANGUAGE='.$language); ?>