Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

AEM Content Fragments: Links Localization. Part 1 | AEM Community Blog Seeding




AEM Content Fragments: Links Localization. Part 1 by Exadel


In our previous articles we have prepared a custom CF model, created a CF structure, and configured its translation. In this article we’ll take a look at CF content localization.

A New AEM Content Fragment Translation Project
A translation project helps organize and manage AEM Content Fragment translation within Adobe Experience Manager and acts as a container for similar translation jobs. We can use a project to create translation jobs for an entire site, an entire directory, or a single page, depending on your needs.

Let’s create a translation project for our site:

Go to /projects.html/content/projects
Click Create → Project
Select “Translation Project” template

AEM Content Fragment Localization Workflows
In the CF console, we can create a language copy, update a language copy (all variations), and update a particular AEM Content Fragment variation. A corresponding workflow in AEM is being triggered with each action.

We will create a Workflow step process to extend built-in AEM workflows. It will have a param: SELECTED_REGIONS_ARG_NAME = “regions” – an array of regions where you can perform link localization. The workflow will search for site and XF references within the CF and try to localize them. For this WF, we will use code from this https://exadel.com/news/aem-experience-fragments-rollout-configuration/ article: XFReferencesUpdateActionFactory and SiteReferencesUpdateActionFactory.

Read Full Blog

AEM Content Fragments: Links Localization. Part 1


Please use this thread to ask the related questions.

Kautuk Sahni
0 Replies