Skip Navigation

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

Problem:
You are using the WPML menu language switcher on your site and want to remove the 'Switch To' text that appears beside the flag in the language switcher.
Solution:
First, check the WPML settings to ensure that the language names are not displayed:
1. Navigate to WPML >> Languages.
2. Scroll down to the Menu Language Switcher section.
3. Click on the Pencil icon.
4. Uncheck the following checkboxes:
- Native language name
- Language name in current language
5. Press the Save button.
If the 'Switch To' text still appears, it might be added by your theme or another plugin. You can hide this text using CSS:

.wpml-ls-item span.fnt-subtitle {<br />    display: none !important;<br />}

Add this CSS to the custom CSS section of your theme.

If this solution does not resolve your issue or seems irrelevant due to updates or differences in your setup, we 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 the problem persists, please open a new support ticket.

0% of people find this useful.

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.

Tagged: 

This topic contains 1 reply, has 0 voices.

Last updated by housamM 2 months, 4 weeks ago.

Assisted by: Noman.

Author Posts
February 22, 2025 at 9:10 am #16736003

housamM

Background of the issue:
I am using the WPML menu language switcher on my site hidden link. I want to remove the 'Switch To' text that appears beside the flag in the language switcher.

Symptoms:
The WPML menu language switcher displays 'Switch To' beside the flag, which I want to remove.

Questions:
while using WPML menu language switcher, i always get "Switch To" text beside the flag, i need to remove it

February 23, 2025 at 9:34 am #16737529

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. Usually WPML doesn’t add “switch to” text beside language switcher, instead it adds language name, which you should be able to disable it by following the below steps:

1. Go to the WPML >> Languages page.
2. Scroll down to the Menu Language Switcher section.
3. Click on the Pencil icon as you can see in the attached screenshot.
4. Uncheck these two checkboxes:
- Native language name
- Language name in current language
5. Press the Save button.

- I suspect this text is coming from theme or some other plugin, in that case, there might be an option in theme/plugin settings page to hide it, or you should be able to hide it by adding the below CSS:

.wpml-ls-item span.fnt-subtitle {
    display: none !important;
}

In the custom CSS section of the theme and it will look as in the attached screenshot.

Please let me know the results,
Thank you

remove unwanted text.jpg
Edit language switcher settings.jpg
Edit menu language switcher 1.jpg
February 24, 2025 at 4:00 am #16738908

housamM

it worked like a charm, thank you very much for your prompt assisstance