code: public static List<Locale> getLocales(String localeNames) {
  
          if (localeNames == null) {
              return null;
          }
          return getLocales(CmsStringUtil.splitAsList(localeNames, ','));
      }
docs: Returns a List of locales from a comma-separated string of locale names.<p>
  
  @param localeNames a comma-separated string of locale names
  @return a List of locales derived from the given locale names