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

Language Switch not working (Configurable Header)

Avatar

Avatar
Validate 1
Level 1
rafaelc35759395
Level 1

Likes

2 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
rafaelc35759395
Level 1

Likes

2 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
rafaelc35759395
Level 1

25-10-2019

When the website was created, we have set up the header to allow language switch (auto - with deeplink functionality), so when a person needed to change the website language it would be led to the same page but in the new language. However, all of a sudden, every time we perform a language switch, the person is taken to the homepage.

What is the best way to connect two same pages but with different languages on AEM?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

236 likes

Total Posts

251 posts

Correct Reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

236 likes

Total Posts

251 posts

Correct Reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
MVP

26-10-2019

I'd love to help you but I think we really need more information first. How does this "deeplinking" work? Basically all you would need to do is take the current URL and switch the language part of the content path (with a check to make sure the resource exist and create a fallback plan, ideally). Can you provide more information about the header component? Java and/HTL code for example?

Answers (0)