[Gnucash-changes] r13999 - htdocs/trunk - try both envvars.
Joshua Sled
jsled at cvs.gnucash.org
Wed May 10 20:49:34 EDT 2006
Author: jsled
Date: 2006-05-10 20:49:33 -0400 (Wed, 10 May 2006)
New Revision: 13999
Trac: http://svn.gnucash.org/trac/changeset/13999
Modified:
htdocs/trunk/lang.php
Log:
try both envvars.
Modified: htdocs/trunk/lang.php
===================================================================
--- htdocs/trunk/lang.php 2006-05-11 00:44:34 UTC (rev 13998)
+++ htdocs/trunk/lang.php 2006-05-11 00:49:33 UTC (rev 13999)
@@ -4,6 +4,7 @@
if(isset($language)) { $locale = $language; }
if($locale == "") { $locale = "en_US"; }
putenv("LANG=$locale");
+putenv("LANGUAGE=$locale");
setlocale(LC_MESSAGES, $locale);
$domain = "gnucash-htdocs";
bindtextdomain($domain, $top_dir);
More information about the gnucash-changes
mailing list