Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.
SOLVED

Why does creating a language copy of language-masters/en also create a copy in the global folder in AEMaaCS?

Avatar

Level 2

Hi,

I'm working on a site structure in AEM (AEMaaCS) using this layout:

 

/content/my-site
├── language-masters
│   └─ en
└── global
│   └─ en

 

When I use the Create Language Copy wizard from /content/my-site/language-masters/en and choose a new language (e.g., fr), AEM automatically creates:

  1. /content/my-site/language-masters/fr – which I expected

  2. But also: /content/my-site/global/fr – which I didn’t explicitly request

    1. The content inside the global contains only 3 pages from the original language master

 

Why does this happen and is there any way to prevent it?

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi @aa_w ,

 

Can you tell me if there are some language-masters pages are using or referencing components, templates, or configurations stored inside /global?

View solution in original post

4 Replies

Avatar

Community Advisor

Hi @aa_w 

Could you please check the user, who created those copies inside global?

For me it seems there is a custom event listener which creates/copy pages from language master to global.

Arun Patidar

AEM LinksLinkedIn

Avatar

Level 2

Hi @arunpatidar 

 

They were created under my username, they are created after the language-master/fr pages are created, then the ones under global are created

Avatar

Correct answer by
Level 4

Hi @aa_w ,

 

Can you tell me if there are some language-masters pages are using or referencing components, templates, or configurations stored inside /global?

Avatar

Level 2

I think it was because there were teasers or other components referencing those global pages as links. Thank you