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 3 replies, has 0 voices.

Last updated by Mihai Apetrei 50 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
January 10, 2025 at 6:52 am #16580363

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there, and thank you for the update.

There's a chance that the styling comes from your current theme or one of the active plugins. I will also look into the actual translation issue (I will create a separate ticket for that so that we handle only one unique issue per ticket).

I want to take a closer look. I would like to kindly request temporary access (wp-admin and FTP) to your site so that I can thoroughly examine the issue. The necessary fields can be found below the comment area. When you log in to leave your next reply, please be assured that the information you enter is private and will only be visible to you and me.

Our Debugging Procedures

I will thoroughly review various settings in the backend to determine if the issue can be resolved. While I will not make changes that affect the live site, it is still advisable to back up the site before granting us access. Should further debugging be necessary, I will create a duplicate and work in a separate, local development environment to avoid any impact on the live site.

Privacy and Security Policy

We have stringent policies in place regarding privacy and access to your information. For more details, please refer to: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

IMPORTANT

- Prior to granting us access, please ensure that the site files and database are backed up.

If you do not see the wp-admin/FTP fields, please refrain from posting your website details as they will be made public. Kindly request me to enable the private box if you do not see the required wp-admin/FTP fields. You can find the private box by following this link: hidden link

I will await your response.