code: public boolean showElementLanguageSelector() {
  
          List<Locale> locales = OpenCms.getLocaleManager().getAvailableLocales(getCms(), getParamResource());
          if ((locales == null) || (locales.size() < 2)) {
              // for less than two available locales, do not create language selector
              return false;
          }
          return true;
      }
docs: Determines if the element language selector is shown dependent on the available Locales.<p>
  
  @return true, if more than one Locale is available, otherwise false