docs: public static String exportCommon(CmsObject cms, CmsCoreData coreData) throws Exception {
  
          // determine the workplace locale
          String wpLocale = OpenCms.getWorkplaceManager().getWorkplaceLocale(cms).getLanguage();
          if (CmsStringUtil.isEmptyOrWhitespaceOnly(wpLocale)) {
              // if no locale was found, take English as locale
              wpLocale = Locale.ENGLISH.getLanguage();
          }
          StringBuffer sb = new StringBuffer();
          // append meta tag to set the IE to standard document mode
          sb.append("<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n");
  
          sb.append(
              "<script type=\"text/javascript\" src=\""
                  + OpenCms.getStaticExportManager().getVfsPrefix()
                  + "/"
                  + CmsMessagesService.class.getName()
                  + ".gwt?"
                  + CmsLocaleManager.PARAMETER_LOCALE
                  + "="
                  + wpLocale
                  + "\"></script>\n");
  
          // print out the missing permutation message to be used from the nocache.js generated by custom linker
          // see org.opencms.gwt.linker.CmsIFrameLinker
          sb.append(
              wrapScript(
                  "var ",
                  CMS_NO_PERMUTATION_MESSAGE,
                  "='",
                  Messages.get().getBundle(OpenCms.getWorkplaceManager().getWorkplaceLocale(cms)).key(
                      Messages.ERR_NO_PERMUTATION_AVAILABLE_0),
                  "';\n"));
  
          String prefetchedData = exportDictionary(
              CmsCoreData.DICT_NAME,
              I_CmsCoreService.class.getMethod("prefetch"),
              coreData);
          sb.append(prefetchedData);
          //       sb.append(ClientMessages.get().export(wpLocale));
          sb.append("<style type=\"text/css\">\n @import url(\"").append(iconCssLink(cms)).append("\");\n </style>\n");
  
          // append additional style sheets
          Collection<String> stylesheets = OpenCms.getWorkplaceAppManager().getAdditionalStyleSheets();
          for (String stylesheet : stylesheets) {
              sb.append("<style type=\"text/css\">\n @import url(\"").append(stylesheet).append("\");\n </style>\n");
          }
          // append the workplace locale information
          sb.append("<meta name=\"gwt:property\" content=\"locale=").append(wpLocale).append("\" />\n");
          return sb.toString();
      }