Skip Navigation

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

Problem:
The client added a custom language switcher in their header Elementor template. After switching languages, the language switcher is only visible in the default language and becomes hidden in other languages.
Solution:
We recommend going to the header template where the language switcher was added in Elementor. Make a small change and save it. Ensure that the translated version of the template is 100% complete. This should resolve the issue of the language switcher being hidden after changing languages.
If this does not resolve the issue, as a less recommended option, you can change the language from the top admin bar, go to Elementor in the translated page, and add the shortcode there too.

Please note that this solution might be outdated or not applicable to your specific case. 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 the problem persists, please open a new support ticket.

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

Last updated by andreC-37 2 months, 1 week ago.

Assisted by: Christopher Amirian.

Author Posts
March 2, 2025 at 2:29 pm #16765695

andreC-37

Background of the issue:
I have added a custom language switcher in my header elementor template. When I switch language using that, translating is working perfectly.

Symptoms:
My language switcher is hidden after changing the language. It's showing only on my default language.

Questions:
Can you please check and see what's the problem. My language switcher is hidden after language change. Please help. Thanks.

March 2, 2025 at 2:52 pm #16765780

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Welcome to WPML Support. It seems that you need to go to the header template you added the language switcher in Elementor and make sure you do a small change and save, then make sure the translated version is 100% complete and it should do the trick.

If not, you have an option to change the language from the top admin bar to go to the Elementor in the translated page and add the shortcode there too. (not recommended)

Thanks.

March 2, 2025 at 11:23 pm #16766384

andreC-37

I have tried the first method and it's still not working. Can you please explain second method in detail? I don't understand it. It's only showing on my default language. Please help. Thanks
my website hidden link

March 2, 2025 at 11:32 pm #16766402

andreC-37

Issue resolved. I created new header and saved that and it worked. Thanks