anchor.diff:                                              key="email.template.locale"/></td>
                                       <td><select id="emailLocale" name="emailLocale" class="leftCol-med">
                                           <%
  -                                            for (Locale aLocale : availableLocale) {
  +                                            for (Locale aLocale : availableLocales) {
                                                   String localeCode = Util.getLocaleCode(aLocale);
                                           %>
                                           <option value="<%=Encode.forHtmlAttribute(localeCode)%>">
  
positive.code: <%
      String emailTemplateType = request.getParameter("templateType");
      String username = request.getParameter("username");
      Locale[] availableLocale = Locale.getAvailableLocales();
  
      String forwardTo = null;
      String BUNDLE = "org.wso2.carbon.email.mgt.ui.i18n.Resources";
  
negative.code: <%@ page import="org.wso2.carbon.ui.CarbonUIMessage" %>
  <%@ page import="org.wso2.carbon.ui.CarbonUIUtil" %>
  <%@ page import="org.wso2.carbon.utils.ServerConstants" %>
  <%@ page import="java.util.Arrays" %>
  <%@ page import="java.util.Comparator" %>
  <%@ page import="java.util.Locale" %>
  <%@ page import="java.util.ResourceBundle" %>
  
  