Skip to content Skip to sidebar

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

Problem:
The client wants to display only the non-active language in the WPML Language Switcher Block within a block-based menu using the twentytwentyfour Theme, but cannot find the setting to achieve this.
Solution:
Currently, it is not supported to hide the current language in the Language Switcher block. This feature has been requested and the client's ticket has been linked to the feature request for additional support. Meanwhile, we recommend trying the workaround suggested in this forum thread: https://wpml.org/forums/topic/i-would-like-the-language-switcher-show-the-name-of-the-other-language-not-the-active-one/#post-16378075

If this solution does not apply to your case, or if it seems outdated, please open a new support ticket. We also 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. For further assistance, please visit our support forum at https://wpml.org/forums/forum/english-support/.

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

Last updated by andreasF-12 2 weeks, 5 days ago.

Assisted by: Noman.

Author Posts
December 7, 2025 at 10:24 am #17641656

andreasF-12

Dear WPML,

I use the twentytwentyfour Theme, which uses a block-based menu.
I've added the "WPML Language Switcher Block" into my menu bar, which works nicely.

What I would like to do however - and couldn't figure out: I would like to only display the "non-active language" in that Gutenberg Block.
In the Settings, I can somehow not see it. Am I missing something?

Thank you in advance!

December 7, 2025 at 4:23 pm #17642151

Noman
WPML Supporter since 06/2016

Languages: English (English )

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

Hi,

Thank you for contacting WPML Support. It’s not supported yet to hide the current language in the Language Switcher block. This request is already submitted as a feature request, and I’ll link your ticket to it so it gets an additional vote.

Meanwhile, you may try to use the suggested workaround from this thread: https://wpml.org/forums/topic/i-would-like-the-language-switcher-show-the-name-of-the-other-language-not-the-active-one/#post-16378075

Thank you

December 8, 2025 at 7:48 pm #17645267

andreasF-12

Thank you Noman! That worked as intended!