docs: private void initLocales(CmsPreviewInfo previewInfo) {
  
          if (m_localeSelect != null) {
              removeButton(m_localeSelect);
              m_localeSelect = null;
          }
          if (previewInfo.hasAdditionalLocales()) {
              m_localeSelect = new CmsSelectBox(previewInfo.getLocales());
              m_localeSelect.setFormValueAsString(previewInfo.getLocale());
              m_localeSelect.addValueChangeHandler(new ValueChangeHandler<String>() {
  
                  public void onValueChange(ValueChangeEvent<String> event) {
  
                      loadOtherLocale(event.getValue());
                  }
              });
              Style style = m_localeSelect.getElement().getStyle();
              style.setWidth(SELECTBOX_WIDTH, Unit.PX);
              style.setFloat(com.google.gwt.dom.client.Style.Float.LEFT);
              style.setMargin(0, Unit.PX);
              m_localeSelect.truncate(TRUNCATION_PREFIX, SELECTBOX_WIDTH - 20);
              addButton(m_localeSelect);
  
          }
      }