code: void setLanguage(final Locale locale) {
  
          if (!m_languageSelect.getValue().equals(locale)) {
              m_languageSelect.setValue(locale);
          }
      }
docs: Sets the currently edited locale.
  @param locale the locale to set.