Skip to main content

XTM Connect – Adobe Experience Manager 2.6

How does Visual mode work? (AEMaaCS)

Note

If you are using Adobe Experience Manager 6.5 (AEM 6.5), see How does Visual mode work? (AEM 6.5).

This topic describes the process in which the relevant AEM as a Cloud Service assets, required for generating the Visual mode preview, are made available in XTM Cloud:

  1. When an AEM as a Cloud Service page is added to a translation project, AEM as a Cloud Service renders the page in HTML format.

  2. The XTM Connect – AEM submits the requested page for translation, in XTM Cloud. The XTM Connect – AEM also parses the page content and finds any references (absolute paths) to internal resources such as CSS files, JS files or images.

  3. The XTM Connect – AEM requests each found referenced internal resource from the particular AEM as a Cloud Service system. The AEM as a Cloud Service system supplies these internal resources.

    • If one of the internal resources that XTM Cloud receives is an asset such as an image, that asset is simply downloaded for inclusion in the preview package. (See step 4. for details.)

    • If one of the internal resources that XTM Cloud receives is a CSS or JS file, it is downloaded and then parsed to check whether it contains any other references, to other assets. If so, these assets are also downloaded, and parsed in their turn, until all relevant internal resources (which will be used to generate the Visual mode preview) have been downloaded and parsed.

  4. Each relevant internal resource, identified in the previous steps, is saved to the preview package for the translation project. This package is sent to XTM Cloud in a ZIP file that is separate from the translation project. When the project is opened in XTM Cloud, the contents of the preview package are used to generate the preview. The preview is then displayed if a Linguist opens a file for translation in Visual mode.

Note

After translation, the Linguist can also generate a formatted preview of the target content, to check, if required.