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.
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.
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
I did as you said - see screenshot of the settings.
Now the Chinese language is showing English language
Hi,
I see your Chinese language on desktop version showing english too:
https://www.calculatedtraveller.com/zh-hant/
So, please check the configs from your-end.
Best Regards,
PenciDesign