code: private Locale getLocale(CmsXmlContent content) {
  
          List<Locale> locales = content.getLocales();
          if (locales.contains(Locale.ENGLISH) || locales.isEmpty()) {
              return Locale.ENGLISH;
          }
          return locales.get(0);
      }
docs: Helper method for getting the locale from which to read the configuration data.<p>
  
  @param content the configuration content
  
  @return the locale from which to read the configuration data