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?


Ciao
Thomas
_______________________________________________
Mapbender_dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapbender_dev

Reply via email to