[Gnucash-changes] r14003 - htdocs/trunk - try LC_ALL for
www.gnucash.org :p
Joshua Sled
jsled at cvs.gnucash.org
Wed May 10 21:20:28 EDT 2006
Author: jsled
Date: 2006-05-10 21:20:27 -0400 (Wed, 10 May 2006)
New Revision: 14003
Trac: http://svn.gnucash.org/trac/changeset/14003
Modified:
htdocs/trunk/lang.php
Log:
try LC_ALL for www.gnucash.org :p
Modified: htdocs/trunk/lang.php
===================================================================
--- htdocs/trunk/lang.php 2006-05-11 01:14:12 UTC (rev 14002)
+++ htdocs/trunk/lang.php 2006-05-11 01:20:27 UTC (rev 14003)
@@ -1,11 +1,11 @@
<?php
# allow user override.
$language = $_GET["lang"];
-if(isset($language)) { $locale = $language; }
-if($locale == "") { $locale = "en_US"; }
+if (isset($language)) { $locale = $language; }
+if ($locale == "") { $locale = "en_US"; }
putenv("LANG=$locale");
putenv("LANGUAGE=$locale");
-setlocale(LC_MESSAGES, $locale);
+setlocale(LC_ALL, $locale);
$domain = "gnucash-htdocs";
bindtextdomain($domain, $top_dir);
textdomain($domain);
More information about the gnucash-changes
mailing list