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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Kyiv (GMT+03:00)

This topic contains 1 reply, has 2 voices.

Last updated by Andrey 2 days, 16 hours ago.

Assisted by: Andrey.

Author Posts
September 18, 2024 at 4:19 pm #16194731

nicklasL-3

Background of the issue:
I am developing a site and I would like to remove several languages from the language switcher. However, I do not want to hide these languages from the front-end or from Google. I couldn't find any documentation to follow.

Symptoms:
N/A

Questions:
How can I remove specific languages from the language switcher in WPML without hiding them from the front-end or from Google?

September 18, 2024 at 4:38 pm #16194820

Andrey
Supporter

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

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

There is no option in the WPML settings to hide a language from the language switcher only. However, you can hide a language on the front end and the language switcher as well by going to the WPML → Languages page and selecting the languages you want to hide in the "Hide Languages" section. After choosing the languages, remember to click the Save button.

https://wpml.org/documentation/getting-started-guide/language-setup/hiding-languages-on-the-front-end/

Alternatively, you can attempt to achieve this by using custom CSS.