[Mapbender-users] Mapbender 2.5 - Internationalization - "Locale could not be set. Language ID: 'de'"

david.mueller at kaiserslautern.de david.mueller at kaiserslautern.de
Tue May 5 09:48:20 EDT 2009


hey,

thank you, this is the solution!

the translation is now working, without any errors in the logfile!

Mit freundlichem Gruß

i.A. David Müller
-------------------------------------------------------------------
Stadtverwaltung Kaiserslautern
Referat Stadtentwicklung
Stabsstelle Graphische Datenverarbeitung
Willy-Brandt-Platz 1
67653 Kaiserslautern

E-Mail: david.mueller at kaiserslautern.de
Internet:  www.kaiserslautern.de
-------------------------------------------------------------------


mapbender_users-bounces at lists.osgeo.org schrieb am 05.05.2009 15:29:41:

> Hi David,
>
> take a look at
>   http://trac.osgeo.org/mapbender/ticket/312
> and
> http://trac.osgeo.org/mapbender/changeset/3657
>
> in short, the line
>    if (!defined('LC_MESSAGES')) define('LC_MESSAGES', LC_CTYPE);
> in globalSettings.php should do the trick, LC_MESSAGES is not defined
> in Windows.
>
>
> david.mueller at kaiserslautern.de schrieb:
> > Hello List,
> >
> > i've got a problem with the default language parameter in my
> > mapbender.conf.
> >
> > I edited the following section:
> >
> > # --------------------------------------------
> > # Internationalization
> > # --------------------------------------------
> >
> > define("USE_I18N", true);  // requires gettext for PHP.
> >                                           // If "false", LANGUAGE is
set to
> > english
> > define("LANGUAGE", "de");   // only available if USE_I18N is "true".
> >                                           // "en", "de", "bg", "gr",
"nl",
> > "it", es"
> >
> >
> > In my Mapbender 2.5 Installation the language translation /
> > internationalization doesn't work.
> >
> > I get this error in the logfiles:
> > 2009.05.04, 08:40:41,ERROR: Locale could not be set. Language ID: 'de'
> >
> > All the GUIS are shown in englisch, not in german, like i suggested.
> >
> > My System is a Windows 2003 Server Standard with the ms4w Apache Web
Server
> > and Mapbender 2.5 installed.
> >
> > How could the language problem be solved? Any suggestions?
> >
> > Thanks!
> >
> > Mit freundlichem Gruß
> >
> > i.A. David Müller
> > -------------------------------------------------------------------
>
> Ciao
> Thomas
> --
>
> Thomas Baschetti - Systemanalyse Geographische Informationssysteme
> Hakenstraße 8D
> 49074 Osnabrück
>
> Tel: 0541 25 91 90 | mobil 01577 189 25 91
> E-Mail: info at thomas-baschetti.de
> www.thomas-baschetti.de
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users


Aktuelle Informationen und Veranstaltungshinweise finden Sie unter:
http://www.kaiserslautern.de/aktuelles



More information about the Mapbender_users mailing list