code: private Locale getLocale(CmsResource resource, List<CmsProperty> propertyList) {
  
          return OpenCms.getLocaleManager().getDefaultLocale(m_guestCms, m_guestCms.getSitePath(resource));
      }
docs: Gets the locale to use for the given resource.<p>
  
  @param resource the resource
  @param propertyList the properties of the resource
  
  @return the locale to use for the given resource