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
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM MSM - Retrieve Language Copy by API

Avatar

Avatar
Level 1
carmenm23230579
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
carmenm23230579
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
carmenm23230579
Level 1

19-05-2020

Hi community,

 

I'm working with the MSM to define a site like this example:

  • /es/es/buy
  • /es/en/buy
  • /en/es/buy
  • /en/en/buy
  • /language-masters/es/buy
  • /language-masters/en/buy

When a user visit the page /es/es/buy, I would like to retrieve the path of the language copy (/es/en/buy/) for implement a custom language navigation and use it in the "alternate" meta for purposes of SEO.

 

Does it possible with the API Java? I've used the next apis and I did't find the way:

 

Also, I've detected If I change the name of a language copy, the reference in the touch-enabled UI is lost. The page doesn't appear like languague copy. So, what happen If I want a language copy with different name? How can I define a language copy with different name without lost the reference? I would like a site like the next:

  • /es/es/comprar
  • /es/en/buy
  • /en/es/comprar
  • /en/en/buy
  • /language-masters/es/comprar
  • /language-masters/en/buy

 

Thanks!

AEM 6.5 Language copy MSM

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,356 likes

Total Posts

3,227 posts

Correct Reply

917 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,356 likes

Total Posts

3,227 posts

Correct Reply

917 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

29-06-2020

Answers (0)