[Mapbender-commits] r3506 - branches/2.5/http/classes trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Jan 29 09:49:29 EST 2009


Author: christoph
Date: 2009-01-29 09:49:28 -0500 (Thu, 29 Jan 2009)
New Revision: 3506

Modified:
   branches/2.5/http/classes/class_locale.php
   trunk/mapbender/http/classes/class_locale.php
Log:
added more locales (pt, fr, es)

thanks to peter freimuth

Modified: branches/2.5/http/classes/class_locale.php
===================================================================
--- branches/2.5/http/classes/class_locale.php	2009-01-29 14:45:44 UTC (rev 3505)
+++ branches/2.5/http/classes/class_locale.php	2009-01-29 14:49:28 UTC (rev 3506)
@@ -168,6 +168,18 @@
          * determines the available Locales on this system
          */
         function setSystemLocales() {
+                $this->systemLocales['pt_PT'] = array('linux' => 'pt_PT.utf8',
+                                        'windows' => 'Portuguese_Portugal.1252',
+                                        'bsd' => 'pt_PT',
+                                        'posix' => 'pt_PT');
+                $this->systemLocales['fr_FR'] = array('linux' => 'fr_FR.utf8',
+                                        'windows' => 'French_France.1252',
+                                        'bsd' => 'fr_FR',
+                                        'posix' => 'fr_FR');
+                $this->systemLocales['es_ES'] = array('linux' => 'es_ES.utf8',
+                                        'windows' => 'Spanish_Spain.1252',
+                                        'bsd' => 'es_ES',
+                                        'posix' => 'es_ES');
                 $this->systemLocales['it_IT'] = array(
 										'linux' => 'it_IT.utf8',
                                         'windows' => 'Italian_Italy.1252',

Modified: trunk/mapbender/http/classes/class_locale.php
===================================================================
--- trunk/mapbender/http/classes/class_locale.php	2009-01-29 14:45:44 UTC (rev 3505)
+++ trunk/mapbender/http/classes/class_locale.php	2009-01-29 14:49:28 UTC (rev 3506)
@@ -168,6 +168,18 @@
          * determines the available Locales on this system
          */
         function setSystemLocales() {
+                $this->systemLocales['pt_PT'] = array('linux' => 'pt_PT.utf8',
+                                        'windows' => 'Portuguese_Portugal.1252',
+                                        'bsd' => 'pt_PT',
+                                        'posix' => 'pt_PT');
+                $this->systemLocales['fr_FR'] = array('linux' => 'fr_FR.utf8',
+                                        'windows' => 'French_France.1252',
+                                        'bsd' => 'fr_FR',
+                                        'posix' => 'fr_FR');
+                $this->systemLocales['es_ES'] = array('linux' => 'es_ES.utf8',
+                                        'windows' => 'Spanish_Spain.1252',
+                                        'bsd' => 'es_ES',
+                                        'posix' => 'es_ES');
                 $this->systemLocales['it_IT'] = array(
 										'linux' => 'it_IT.utf8',
                                         'windows' => 'Italian_Italy.1252',



More information about the Mapbender_commits mailing list