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.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year, 11 months ago.

Assisted by: Prosenjit Barman.

Author Posts
August 15, 2023 at 2:18 pm #14203663

martenB-4

Dear WPML support,

a while ago I renewed our WPML subscription. Before figuring out that was the solution to WPML no longer functioning, I had tried to reinstall the WPML plugin. That didn't work, but when I renewed the subscription, about half a year ago, I was very happy to see all the functionality restored, despite the full de-installation. However, one thing did not come back: the little flag/language switcher on the menu on the homepage is now missing. It's there on all other pages, as far as I can tell, but not on the homepage (see attachments). I'm not sure what to do, can you help?

I've tried updating the translation of the homepage, hoping it would trigger a reset. I also went into appearance > menu and explicitly linked the English translation of the menu to the Dutch version of the menu, by pointing to it in the "menu structure". Each to no avail. Since renewing the subscription, I have not re-installed the plugin.

Website: hidden link

Hope you can help. Thanks!

Best wishes,
Marten

DuneWorks Homepage Menu (no WPML switcher).png
DuneWorks Portfolio Page Menu (with WPML switcher).png
August 16, 2023 at 12:36 pm #14235419

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi Marten,
Thanks for contacting WPML Support. I will try my best to assist you in this matter.

I checked your site and noticed that except for the Homepage, the language switcher is showing properly on other pages. Would you kindly follow the steps below and check if that helps to solve the issue?

- Please go to "Settings > Reading" from your WordPress dashboard and make sure that the Homepage is selected correctly.
- After that, go to the "WPML > Support > Troubleshooting" section and click on "Disable cache for language switcher templates"
- If you're using any caching plugin or server-level caching is enabled, clear the caches completely and then check from the incognito mode of the browser.

The issue should be solved by following that as I can see that the English translation of the Homepage is available.

But, if the issue persists, a closer inspection will require to identify the root cause of the issue. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please make a backup of site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Looking forward to your response.

Best Regards,
Prosenjit

August 17, 2023 at 8:55 am #14243971

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Marten,

Thanks for sharing the access information. I have checked and successfully resolved the issue. The language switcher was added to the menu named "DuneWorks-home - Dutch," but in the header, a different menu was utilized, which didn't include any language switcher. I updated the header to use the correct menu, and this action effectively solved the problem. Please check now and let me know if that helps.

Regarding the warning you had while creating the backup- The table is indeed related to the WPML String Translation plugin. This table contains the caches of the string translations. In order to clear the table, please go to the "WPML > Support > troubleshooting" section and click on the "Cleanup and optimize strings tables" button at the end.

Let me know if there is anything else if you need help. I will be happy to assist.

Best regards,
Prosenjit