anchor.diff:              messengerHomeErrors.put("write","write");
           }
       }
  +
  +    Locale locale = JiveGlobals.getLocale();
   %>
   
   <%@ include file="setup-header.jspf" %>
  
positive.code: <%@ include file="setup-env-check.jspf" %>
  
  <%  // Get parameters
      // Handle a continue:
      if (request.getParameter("continue") != null) {
          // update the sidebar status
          session.setAttribute("jive.setup.sidebar.1","done");
          session.setAttribute("jive.setup.sidebar.2","in_progress");
          // redirect
          response.sendRedirect("setup-host-settings.jsp");
          return;
      }
  
      Map errors = new HashMap();
  
      // Error checking
      Map messengerHomeErrors = new HashMap();
  
negative.code: 
  <%  } %>
  
  <br/>
  
  <b>System Summary</b>
  
  <ul>
  JDK: <%= System.getProperty("java.version") %> - <%= System.getProperty("java.vendor") %>,
  Appserver: <%= application.getServerInfo() %>.
  </ul>
  
  <br/>
  
  <form action="setup-index.jsp" name="sform">
  
  <b>Choose Language</b>
  
  <%  boolean usingPreset = false;
      Locale[] locales = Locale.getAvailableLocales();
      for (int i=0; i<locales.length; i++) {
          usingPreset = locales[i].equals(locale);
          if (usingPreset) { break; }
      }
  %>
  
  <ul>
  <table cellpadding="4" cellspacing="0" border="0">
  <tbody>
      <tr>
          <td>
              <input type="radio" name="localeCode" value="en" <%= ("en".equals(locale.toString()) ? "checked" : "") %>
               id="loc01" />
          </td>
          <td colspan="2">
              <label for="loc01">English (en)</label>
          </td>
      </tr>
      <tr>
          <td>
              <input type="radio" name="localeCode" value="zh_CN" <%= ("zh_CN".equals(locale.toString()) ? "checked" : "") %>
               id="loc02" />
          </td>
          <td>
              <a href="#" onclick="document.sform.localeCode[1].checked=true; return false;"><img src="images/language_zh_CN.gif" border="0" /></a>
          </td>
          <td>
              <label for="loc02">Simplified Chinese (zh_CN)</label>
          </td>
      </tr>
  </tbody>
  </table>
  </ul>
  
  <br/>
  <hr size="0">
  
  <div align="right">
  <input type="submit" name="save" value=" Continue ">
  </div>
  </form>
  
  