[Mapbender-dev] LC_MESSAGES and Windows (again)

Christoph Baudson christoph.baudson at wheregroup.com
Thu Mar 5 10:05:13 EST 2009


Thomas Baschetti schrieb:
> Hi,
>
> because LC_MESSAGES on windows is often undefined,
> the following was addes to globalSettings.php
>
> if (!defined('LC_MESSAGES')) define('LC_MESSAGES', 6);
>
> see http://trac.osgeo.org/mapbender/ticket/312
>
> OK, no PHP-Error, but still language support under windows seems to fail:
>
> $selectedLocale = setlocale(LC_MESSAGES, $locale);
> $e = new Mb_notice("setlocal fuer LC_MESSAGES " . LC_MESSAGES . " auf 
> locale: >" . $selectedLocale . "<");
>
> results in
> Notice: setlocal fuer LC_MESSAGES 6 auf locale: ><
>
> and an english mapbender
>
> where
> $selectedLocale = setlocale(LC_ALL, $locale);
> $e = new Mb_notice("setlocal fuer LC_ALL " . LC_ALL . " auf locale: >" 
> . $selectedLocale . "<");
>
> results in
> Notice: setlocal fuer LC_ALL 0 auf locale: >German_Germany.1252<
>
> and a german mapbender (and the problems mentioned in 
> http://trac.osgeo.org/mapbender/ticket/262
>
> Can anyone confirm this?

Yes, I've experience the same problem...but no solution yet. Where are 
the Windows gurus?

I will re-open the ticket.

Christoph


>
>
> Ciao
> Thomas
> _______________________________________________
> Mapbender_dev mailing list
> Mapbender_dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_dev


-- 

----------------------------------

 FOSSGIS Konferenz 2009
 17.-19. März 2009 in Hannover
 http://www.fossgis.de/konferenz

---------------------------------- 

_______________________________________

W h e r e G r o u p GmbH & Co. KG

Siemensstraße 8
53121 Bonn
Germany

Christoph Baudson
Anwendungsentwickler

Fon: +49 (0)228 / 90 90 38 - 15
Fax: +49 (0)228 / 90 90 38 - 11
christoph.baudson at wheregroup.com
www.wheregroup.com
Amtsgericht Bonn, HRA 6788
_______________________________________

Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
_______________________________________



More information about the Mapbender_dev mailing list