Enabling support for Experience Fragment translation (AEMaaCS)
Note
If you are using Adobe Experience Manager 6.5 (AEM 6.5), see Enabling support for Experience Fragment translation (AEM 6.5).
In the current version of the XTM Connect – AEM, Experience Fragments can be handled just like any other translatable content: they can be included when the page that they are in is sent for translation. However, they are not a standard content type, so they will not be included in the translation scope unless they have been added to the AEM as a Cloud Service Translation Configuration, as a resource type.
If it is necessary to do so, follow the steps below.
Select Adobe Experience Manager > Tools > General > Translation Configuration. You see the AEM Translation Configuration screen.
Select the checkbox next to /content.
Select the Add context button.
In the Select Context pane, select the relevant content path.
Select the check mark
in the top right-hand corner, to close the pane. You see the AEM Translation Configuration screen.
Select the Edit icon in the top left-hand corner of the screen. You see the Translation Rules Editor screen.
Select the References tab. At the top of the References tab screen, you see Add asset node with [resource type] with asset reference as [reference type].
In the [resource type] field, enter the resource type of the implementation of the Experience Fragment component used by your project.
In the [reference type] field, enter the name of the property that contains a path to a referenced resource. In the case of Experience Fragments, it is usually "fragmentVariationPath".
Select Add Reference to save your changes.
Result: you have added Experience Fragments to the AEM as a Cloud Service Translation Configuration, as a resource type. They can now be added to translation projects and sent to XTM Cloud for translation.
Note
Content Fragments
Unlike Experience Fragments, Content Fragments do not need to be added as a resource type: they are a recognized content type that AEM as a Cloud Service can extract and send for translation.
For reference, make these settings in the Translation Rules Editor, for Content Fragments, if required:
In the [resource type] field, enter the resource type of the implementation of the Content Fragment component used by your project.
In the [reference type] field: enter "fragmentPath" (this is the usual setting).
.