Why does creating a language copy of language-masters/en also create a copy in the global folder in AEMaaCS? | Community
Skip to main content
Level 2
April 23, 2025
Solved

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

  • April 23, 2025
  • 2 replies
  • 549 views

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?

Best answer by ShivamKumar

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?

2 replies

arunpatidar
Community Advisor
Community Advisor
April 23, 2025

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
aa_wAuthor
Level 2
April 23, 2025

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

ShivamKumarAccepted solution
Level 4
April 23, 2025

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?

aa_wAuthor
Level 2
April 28, 2025

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