Skip to content Skip to sidebar

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.

This topic contains 0 replies, has 1 voice.

Last updated by jeroenS-14 8 months, 2 weeks ago.

Author Posts
March 17, 2025 at 11:03 pm #16827340

jeroenS-14

Background of the issue:
I am trying to implement a custom language switcher on my site. The switcher shows up, but the dropdown seems to be empty. I applied CSS in the console to change the background color, etc. Link to a page where the issue can be seen: hidden link

Symptoms:
The dropdown is empty, showing only the flag of the current language instead of flags for all languages.

Questions:
Why is the dropdown in the custom language switcher empty?
How can I display all language flags in the dropdown?

March 17, 2025 at 11:48 pm #16827389

jeroenS-14

It just realized that the reason for the flags not showing is because I was viewing this on a oage that isn't translayed yet. Sorry for this, it was a long day. But everything works.

With kind regards,

Jeroen.