PX Forums demoYou are browsing as a visitor. Try it as: Member · Moderator · AdminOne click, no password. All changes are reset every night at 03:45 CET.
Skip to content

Language switcher links to the homepage instead of the translated page

Log in
Replies
4
Voices
5
Views
640
Last activity
Score 1
Chloé Martin Topic starter Helper159 karma33 posts · Joined Dec 2026

On a page with a translation, clicking "Français" goes to the French homepage.

Choose a reaction
Reply

Solution Go to post #3

That happens when the two pages are not linked as translations. Open the English page, go to the Translations tab and pick the French page there. After that the switcher uses the right target. If the tab is empty, the pages have different slugs and need to be linked manually once.

4 answers

Score 10
Lucas Meyer Expert852 karma57 posts · Joined Dec 2026
Solution

That happens when the two pages are not linked as translations. Open the English page, go to the Translations tab and pick the French page there. After that the switcher uses the right target. If the tab is empty, the pages have different slugs and need to be linked manually once.

Choose a reaction
Reply
Score 0
Thomas Green Member170 karma31 posts · Joined Dec 2026

Confirmed on my side as well. Chrome 126, PHP 8.3, Lumen 2.4.0.

Choose a reaction
Reply
Score 0
Maya Okonkwo Moderator540 karma57 posts · Joined Dec 2026

Affected: Firefox 128 too. Safari looks fine.

Choose a reaction
Reply
Score 0
Sofia Ricci Helper759 karma59 posts · Joined Dec 2026

Workaround until it is fixed: clear the cache after saving.

Choose a reaction
Reply