Skip to content
Public Ticket #15594

WPML language switcher mobile / amp not working

Conversation thread

CalculatedTraveller replied

Customer Reply

I did as you said - see screenshot of the settings.
Now the Chinese language is showing English language

PenciDesign replied

Staff Reply

Hi,

You should do that by use this way:

-  I tried creating a "custom link" in my AMP menu and this would work for the other language but English would give me 404.

like you have now. And the issue caused by your English give you 404 because your AMP URL is wrong, let's changed it from:

https://www.calculatedtraveller.com/amp/index

to:

https://www.calculatedtraveller.com/amp

Best Regards,

PenciDesign

CalculatedTraveller started the conversation

Conversation Start

WPML language switcher works correctly on desktop - primary menu / sidebar.

BUT on mobile - in both regular mobile and amp it doesn't work.

-  When I "add language switcher" to my AMP menu it works but it disables the language switcher in my primary menu.
-  When I "add language switcher" to my Primary menu it works but it disables the language switcher in my AMP menu.
-  I tried creating a "custom link" in my AMP menu and this would work for the other language but English would give me 404.


I spoke with WPML and they say that it is an issue with AMP not WPML and that I should be able to use the "add language switcher" in multiple places.

Want to join this conversation or access attachments? Sign in first.