Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AEM Sites - Publishing localised version simultaneously

anandgupta
Level 1
Level 1

I'm using AEM 6.4

When I publish en version of the site page, I want to publish corresponding localised version of the page e.g. de, fr, es, etc which has already been translated correctly.

The trivial process is to manually navigate to each page and then publish them individually (undesired).

Other way is to use Manage Publication wizard to bulk publish. I can add individual localised pages via Add Content action bar item and then bulk publish them with the help of publication wizard.

Q: Is there a way to automatic pre-fill available localised page in the scope tab of publication wizard so that there is no need to select individual pages via path picker dialog?

Screenshot from 2019-01-08 14-57-16.png

4 Replies
raj_mandalapu
Community Advisor
Community Advisor

There is no OOTB functionality, either you need to do customization or you can use MSM Rollout configs. We are doing customization for some other similar requirement.

anandgupta
Level 1
Level 1

Do you have info on which files should be overlay-ed for this behaviour? Otherwise, I'll will check it on my own.

Arun_Patidar
Community Advisor
Community Advisor

you can leverage of replication event and based on that other pages can be replicated using API.

Sample Replication listener -

https://github.com/arunpatidar02/aem63app-repo/blob/master/java/ReplicationListener.java

anandgupta
Level 1
Level 1

I understand that workflows can be created to trigger publish for other pages. But, we also need to inform the user regarding which pages will be published before actually publishing them and I'm unsure how that can be handled via the aforementioned ReplicationListener.
IIUC, also the listener wouldn't give the user flexibility to deselect which pages he/she doesn't want to publish.