docs: public Element createLocale(CmsObject cms, I_CmsXmlDocument document, Element root, Locale locale) {
  
          // add an element with a "locale" attribute to the given root node
          Element element = root.addElement(getInnerName());
          element.addAttribute(XSD_ATTRIBUTE_VALUE_LANGUAGE, locale.toString());
  
          // now generate the default XML for the element
          return createDefaultXml(cms, document, element, locale);
      }