Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Language navigation component not working as expected in publish mode.

Avatar

Level 2

Greetings of the day,

This is regarding language navigation component. My site has two languages English and Chinese.

 

In author and view as published mode the english is left of chineese.

below image for reference:

SRC_AEM_DEV_0-1682686201460.png

 

But the issue is, when I publish the page the order is changing. Here english is changing to right of chineese.

Image for reference:-

SRC_AEM_DEV_1-1682686272725.png

So in publish mode order of items are changing.

 

Any solution to solve this issue?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi, @SRC_AEM_DEV 

Please check if is there any difference in the content organized in the author and publish instance.

Maybe there has some difference in the content between these instances.

 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi, @SRC_AEM_DEV 

Please check if is there any difference in the content organized in the author and publish instance.

Maybe there has some difference in the content between these instances.

 

Avatar

Community Advisor

it seems it might be related to your code. can you check if the alignment is due to some clientlibs and same clientlibs are being included for pages on both author and publishers