Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are trying to add a language switcher to the menu on your site using WPML, but you encounter symbols and characters in the language switcher.
Solution:
We have identified that your current theme might be filtering the output of menu items, which causes the appearance of incorrect characters when you add the language switcher. We recommend placing the language switcher outside of the menu. A good alternative is to use a floating language switcher. For more information on setting this up, please visit Custom Language Switcher.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If issues persist, please do not hesitate to open a new support ticket at WPML support forum.

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 4 replies, has 2 voices.

Last updated by Andrey 2 months, 1 week ago.

Assisted by: Andrey.

Author Posts
November 6, 2024 at 4:25 pm #16373822

chrisostomos

Background of the issue:
I am trying to add a language switcher to the menu on my site hidden link using WPML.

Symptoms:
There is some symbols

Questions:
Why there are symbols and characters in language switcher?

November 6, 2024 at 4:29 pm #16373827

chrisostomos

See what it shows when i add a language switcher
hidden link

Pls help resolve it
Tahnks!

November 6, 2024 at 9:34 pm #16374765

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

Thank you for contacting WPML support.

It seems that your current theme may be filtering the output of menu items when you add the language switcher, resulting in the appearance of incorrect characters. I was unable to replicate this issue with the default theme.

I recommend placing the language switcher outside of the menu. A great option is to use a floating language switcher. You can find more information about this here: https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/custom-language-switcher/#bonus-vertical-floating-language-switcher.

November 6, 2024 at 10:48 pm #16374863

chrisostomos

Many Thanks!

November 7, 2024 at 2:32 pm #16378160

Andrey
Supporter

Languages: English (English ) Russian (Русский )

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

Great! Have a nice day. Thank you.