Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by tannerT 1 year, 4 months ago.

Assisted by: Bobby.

Author Posts
July 21, 2023 at 7:09 pm #14081847

tannerT

Language switcher points to the wrong language

July 21, 2023 at 7:20 pm #14081899

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Hi there,

I was able to review your previous chat and can see the issue when testing your site.

Looks like the first item of the drop-down language switcher is pointing to the page you are on, but the rest are working ok.

As a test go to WPML->languages->menu language switcher and temporarily switch to a list instead of a dropdown, does this issue persist?

Also, in WPML->Languages add a footer switcher as a test and let me know your results,please.

July 21, 2023 at 7:23 pm #14081901

tannerT

Changed to "List" - does not work.

Added to footer, does not work.

Screenshot 2023-07-21 at 2.15.21 PM.png
July 21, 2023 at 7:26 pm #14081931

tannerT

Note the "First Item" issue is not the issue as you can get to "Spanish (U.S) just fine when browsing ellasbubbles.com.

July 21, 2023 at 7:27 pm #14081933

tannerT

The issue currently is that no matter which language you are on, WPML thinks that becomes the default language and swaps "English (U.S)" with that language

July 21, 2023 at 10:40 pm #14082217

tannerT

Issue was resolved my in wp-config.php