docs: private void evaluateSyncLocaleValues(
          CmsXmlContent content,
          Map<String, String> syncValues,
          Collection<String> skipPaths) {
  
          CmsObject cms = getCmsObject();
          for (Locale locale : content.getLocales()) {
              for (String elementPath : content.getContentDefinition().getContentHandler().getSynchronizations()) {
                  for (I_CmsXmlContentValue contentValue : content.getSimpleValuesBelowPath(elementPath, locale)) {
                      String valuePath = contentValue.getPath();
                      boolean skip = false;
                      for (String skipPath : skipPaths) {
                          if (valuePath.startsWith(skipPath)) {
                              skip = true;
                              break;
                          }
                      }
                      if (!skip) {
                          String value = contentValue.getStringValue(cms);
                          if (syncValues.containsKey(valuePath)) {
                              if (!syncValues.get(valuePath).equals(value)) {
                                  // in case the current value does not match the previously stored value,
                                  // remove it and add the parent path to the skipPaths list
                                  syncValues.remove(valuePath);
                                  int pathLevelDiff = (CmsResource.getPathLevel(valuePath)
                                      - CmsResource.getPathLevel(elementPath)) + 1;
                                  for (int i = 0; i < pathLevelDiff; i++) {
                                      valuePath = CmsXmlUtils.removeLastXpathElement(valuePath);
                                  }
                                  skipPaths.add(valuePath);
                              }
                          } else {
                              syncValues.put(valuePath, value);
                          }
                      }
                  }
              }
          }
      }