docs: public static String getDetailContainerLocale(CmsObject cms, String contentLocale, CmsResource resource) {
  
          boolean singleLocale = useSingleLocaleDetailContainers(cms.getRequestContext().getSiteRoot());
          if (!singleLocale) {
              try {
                  CmsProperty prop = cms.readPropertyObject(
                      resource,
                      CmsPropertyDefinition.PROPERTY_LOCALE_INDEPENDENT_DETAILS,
                      true);
                  singleLocale = Boolean.parseBoolean(prop.getValue());
              } catch (Exception e) {
                  LOG.warn(e.getMessage(), e);
              }
          }
          return singleLocale ? LOCALE_ALL : contentLocale;
      }