docs: private void resetContentLocale(Locale defaultLocale) {
  
          m_resetting = true;
          m_localeSelect.removeAllItems();
          if (m_currentConfig.getFolders().isEmpty()) {
              m_localeSelect.addItem(defaultLocale);
              m_localeSelect.setItemCaption(defaultLocale, defaultLocale.getDisplayLanguage(UI.getCurrent().getLocale()));
          } else {
              for (String folder : m_currentConfig.getFolders()) {
                  for (Locale locale : OpenCms.getLocaleManager().getAvailableLocales(A_CmsUI.getCmsObject(), folder)) {
                      if (!m_localeSelect.containsId(locale)) {
                          m_localeSelect.addItem(locale);
                          m_localeSelect.setItemCaption(locale, locale.getDisplayLanguage(UI.getCurrent().getLocale()));
                      }
                  }
              }
          }
          m_localeSelect.setValue(defaultLocale);
          m_localeSelect.setEnabled(m_localeSelect.getItemIds().size() > 1);
          m_resetting = false;
      }