Skip Navigation

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

Problem:
The client was unable to save the language switcher settings in the Groovy Menu on their Bellevue theme website. Despite enabling the 'Show WPML language switcher' option and deactivating all other plugins, the settings would not persist, and the language switcher did not appear in the menu.
Solution:
We recommended the client to ensure that the menu was translated by following the steps in our guide: Translating Menus. After confirming the issue persisted, we requested access to a staging site to conduct tests without affecting the live site. Upon investigation, we updated the outdated theme and plugins, flushed the cache, deactivated and then reactivated the WPML plugins, and finally added the language switcher in WPML -> Languages. This resolved the issue, and the language switcher remained in the menu.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should the problem persist, 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.

This topic contains 0 replies, has 0 voices.

Last updated by Carlos Rojas 1 week, 5 days ago.

Assisted by: Carlos Rojas.

Author Posts
January 3, 2025 at 12:50 pm #16561445

davidD-150

Background of the issue:
I am trying to add a language switcher to my Groovy Menu on my site hidden link. My theme (Bellevue) allows for two menu locations, and my menu is configured as 'Groovy Menu primary location' under Appearance/Menus/Manage Locations. Under WPML/Languages, when I try to add a language switcher to my menu, it says 'setting saved' but the settings disappear when I leave the page and return. Widget and footer language switchers work fine. The 'Show WPML language switcher' option is enabled in Groovy Menu/General settings. I have deactivated all plugins except Groovy Menu and WPML, but there is no improvement. Bellevue Theme and Groovy Menu should be 100% compatible with WPML according to the documentation.

Symptoms:
The language switcher settings in the menu do not save properly and disappear after leaving the page. The language switcher does not appear in the top menu when previewing the page.

Questions:
How can I successfully add a language switcher to my Groovy Menu?
Why do the language switcher settings disappear after saving?
Is there a known issue with integrating a language switcher in a header menu with my setup?

January 3, 2025 at 1:02 pm #16561484

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hello,
Thank you for contacting us

I kindly ask you to double-check if the menu is already translated by going to Appearance -> Menus -> And follow the steps described in this guide: https://wpml.org/documentation/getting-started-guide/translating-menus/

The menu must be translated before the language switcher gets assigned to it.

Regards,
Carlos

January 3, 2025 at 5:52 pm #16562309

davidD-150

Hi Carlos,
Many thanks for your swift reply !

As a matter of fact, the main menu I am using has been translated in all 03 languages I am using with the WPML translate and Sync functionality.
With the language switcher included in the footer and widget, I am able to switch between the different translations of the pages and corresponding menus are looking fine in every language. The only functionality I am missing is having the language switcher included in my (sticky) header menu so that my visitors can swap easily between languages.

David

January 3, 2025 at 7:39 pm #16562508

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi David,
Thank you for your feedback.

In this case, I would like to take a closer look at the site to check the configuration and reproduce the issue. I have set your next message private so you can securely share the access credentials.

Please, don't forget to create a full backup of the site before sharing the access credentials.

January 4, 2025 at 11:26 am #16563198

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi David,
Thank you very much for sharing these credentials.

I was able to reproduce the issue and now I need to run some tests on the site to isolate the cause of the problem. Could you create a staging site with a copy of the production site so I can run the tests without affecting the published site?

You can ask your hosting providers to create a staging site for you, or you could use a plugin like WP Staging.

I have set your next message private so you can securely share the access credentials to the staging site.

January 4, 2025 at 8:35 pm #16563812

davidD-150

Carlos,
By the way my published website is now also giving a fatal error, checking ...

January 5, 2025 at 9:04 am #16564198

davidD-150

Dear Carlos,

I have desactivated the Groovy Menu plugin which was giving a fatal error, my site is now working again with no menu.
My understanding is that you have modified some of the plugin files, correct ?

Can I continue developing my website or do I need to wait for your go ?
Is is better to restart from a clean installation (...backup mode, in such case I might lose the most recent work...) or will you 'repair' the Groovy Menu plugin at the end of troubleshooting (...which will allow me to continue website development...) ?

David

January 7, 2025 at 10:03 am #16568808

davidD-150

Dear Carlos,
Any update on this ticket ?
I need to continue developing my website.
Many thanks,
David

January 7, 2025 at 10:22 am #16568860

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi David,
Thank you very much for creating the staging site.

I'm currently working on the staging site. The fatal error on the production site comes from the Groovy Menu plugin, so I recommend contacting their support service and ask them how to solve it.

January 7, 2025 at 10:29 am #16568950

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi again,

I have followed these steps on the staging site and the issue disappeared:
- Updated the outdated theme and plugin
- Flushed the cache memory
- Deactivated all plugins, including the WPML ones
- Activated the WPML plugins
- Added the language switcher in WPML -> Languages
- Activated the plugins again
- Now the language switcher stays in the menu

Could you confirm that the issue is solved on the staging site?

January 7, 2025 at 2:16 pm #16570025

davidD-150

Hi Carlos,
Many thanks for your feedback - Staging site is now indeed working properly, exactly as I wanted.
I am a little bit worried that you mentioned an update of the Bellevue theme.
I thought I was working with the latest version. Using a child theme though, it can be that some plugins -like woocomerce- are still pointing out outdated files in the child theme, but a priori the main Bellevue theme should at least be ok - unless they released a new version in the last couple of days...
How to get the same results on my published site now - using the same methodology as you did ?
One again, many thanks for the great support !
Cheers,
David

January 7, 2025 at 2:18 pm #16570029

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi David,

Yes you can follow the same steps I described or just restore a copy of the staging site on the production site 🙂

January 10, 2025 at 5:16 am #16580246

davidD-150

Thanks for the great support !

January 10, 2025 at 10:02 am #16581197

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

I'm happy to hear that the issue was solved 🙂

Please don't hesitate to contact us if you need our help with WPML in the future.
Have an excellent day!