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.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 16:00 10:00 – 14:00 10:00 – 14:00 9:00 – 13:00 9:00 – 13:00 -
- 17:00 – 21:00 15:00 – 19:00 15:00 – 19:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Bucharest (GMT+02:00)

Tagged: 

This topic contains 2 replies, has 0 voices.

Last updated by narekK 14 hours, 34 minutes ago.

Assisted by: Mihai Apetrei.

Author Posts
January 8, 2025 at 1:49 pm #16573767

narekK

Background of the issue:
I am trying to use the WPML plugin on my website hidden link to switch languages in the header menu.

Symptoms:
The header menu language switcher always shows one language, despite the page being loaded for the selected language.

Questions:

January 8, 2025 at 4:32 pm #16574550

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Hi there.

From what I can see, you are using the "dropdown" styling for the menu language switcher, so as you can see in my screenshot, you first need to hover your mouse over the language switcher to see all the language options.

I am unsure if this is caused by some settings from your current theme or because of settings added inside the WPML settings.

You can try to go to WPML > Languages > find the "menu language switcher" section > click the pencil edit icon > and from there, set the language switcher NOT to be a dropdown but to display all the flags on the same line.

Please let me know how that goes and if it resolves your issue.

I will be waiting for your response.

Mihai Apetrei

Screenshot 2025-01-08 at 18.29.37.png
January 9, 2025 at 8:43 am #16576575

narekK

That's the point, check the screenshots.

As I said before the functionality doesn't work as it must:

Screenshot 2: you can see I've set another view model, I've cleared all cache but nothing changed

Screenshot 3: Try to change the language, you'll see that after reloading the menu bar and the flag doesn't change

Screenshot_3.jpg
Screenshot_2.jpg