if (!facesContext.getViewRoot().getLocale().equals(Locale.ENGLISH)) {
if (!facesContext.getViewRoot().getLocale().getLanguage().equals(Locale.ENGLISH.getLanguage())) {
    private void encodeName(boolean linkable) throws IOException {        if (this.onlyStructure) {            writer.startElement("td", this);            if (this.depth == BASE_DEPTH) {                writer.startElement("strong", this);                   } else if (this.depth > BASE_DEPTH) {                writer.writeAttribute("style", "padding-left: " + String.valueOf((this.depth + 2)) + "em;", null);            }        } else {            writer.writeAttribute("class", "bgcolor2", null);            writer.startElement("th", this);            writer.writeAttribute("class", "aleft", null);            writer.writeAttribute("colspan", (this.toEdit) ? 3 : 5, null);        }                String name = null;        if (!facesContext.getViewRoot().getLocale().equals(Locale.ENGLISH)) {            name = this.courseGroup.getName() + " ";            } else {            name = this.courseGroup.getNameEn() + " ";        }        if (linkable) {            writer.startElement("a", this);            this.encodeLinkHref("../../bolonhaManager/curricularPlans/courseGroupReport.faces", "&courseGroupID=" + this.courseGroup.getIdInternal(), true);            writer.append(name);            writer.endElement("a");        } else {            writer.append(name);        }                 if (this.onlyStructure) {            if (this.depth == BASE_DEPTH) {                writer.endElement("strong");                   }             writer.endElement("td");        } else {            writer.endElement("th");        }    }