code: private List<CmsSelectWidgetOption> getLanguageSelections() {
  
          List<CmsSelectWidgetOption> result = new LinkedList<CmsSelectWidgetOption>();
          List<Locale> sysLocales = OpenCms.getLocaleManager().getAvailableLocales();
          CmsSelectWidgetOption option;
          boolean first = true;
          for (Locale locale : sysLocales) {
              option = new CmsSelectWidgetOption(locale.toString(), first, locale.getDisplayName(getLocale()));
              first = false;
              result.add(option);
          }
          return result;
      }
docs: Returns a list with the possible <code>{@link Locale}</code> selections based on the OpenCms configuration.
  <p>
  
  @return a list with the possible <code>{@link Locale}</code> selections based on the OpenCms configuration.