<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>MB 2.5rc2: Problems wirh switchLocale_noreload</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi list,</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">with MB 2.5rc2 I want to use module switchLocale_noreload.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I have defined in mapbender.conf:</FONT>
<BR><FONT SIZE=2 FACE="Arial"># --------------------------------------------</FONT>
<BR><FONT SIZE=2 FACE="Arial"># Internationalization</FONT>
<BR><FONT SIZE=2 FACE="Arial"># --------------------------------------------</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">define("USE_I18N", true); // requires gettext for PHP. </FONT>
<BR> <FONT SIZE=2 FACE="Arial">// If "false", LANGUAGE is set to english</FONT>
<BR><FONT SIZE=2 FACE="Arial">define("LANGUAGE", "de"); // only available if USE_I18N is "true". </FONT>
<BR> <FONT SIZE=2 FACE="Arial">// "en", "de", "bg", "gr", "nl", "it", es"</FONT>
<BR><FONT SIZE=2 FACE="Arial">require_once(dirname(__FILE__) . "/../lib/i18n.php");</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2 FACE="Arial">I have embedded module switchLocal__noreload in my gui with variable:</FONT>
<BR><FONT SIZE=2 FACE="Arial">languages set to "de,en,bg,gr,nl,it,es"</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">In my gui the drop-down box for selecting the languages is displayed. </FONT>
<BR><FONT SIZE=2 FACE="Arial">I am able to select different languages.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">But: After selecting a different langauge, nothing happens. The language is NOT changed.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">After reloading the gui in my browser, the language is changed. </FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2 FACE="Arial">Is it possible to change the language at once, after the user has changed the language via the drop down box ?</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">Greetings</FONT>
<BR><FONT SIZE=2 FACE="Arial">Schoenhammer Herbert</FONT>
</P>
</BODY>
</HTML>