Home›Support›English Support›[Resolved] Language switcher not showing in only 1 page + Listing translations stay
[Resolved] Language switcher not showing in only 1 page + Listing translations stay
This thread is resolved. Here is a description of the problem and solution.
Problem: You are experiencing issues with the language switcher not appearing on specific pages and slow loading of the WPML Menu 'Translations'. Additionally, translations are stuck in 'In progress' or revert to 'In progress - Needs update'. Solution: We recommend that you first ensure you have a full backup of your website. Then, temporarily deactivate the Wordfence Security plugin, as it might be interfering with WPML's external communications, particularly affecting the updating and saving of ATE-created translations. After doing this, check if the issues with the language switcher and translation loading times are resolved.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, please visit our known issues page to check for related problems. Ensure you have the latest versions of themes and plugins installed. If problems persist, we highly recommend opening a new support ticket for further assistance.
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.
Background of the issue:
I am trying to have the language switcher in the header on all pages and translate listing posts from any language to the three other languages on my site. This used to work smoothly before, but now there is an issue. Link to a page where the issue can be seen: hidden link
Symptoms:
1. The language switcher is not showing only on this page: hidden link. 2. The WPML Menu 'Translations' takes too much time to open, looping 'Loading translations queue'. 3. After opening, newly translated items (Turkish to English) stay in 'In progress' or sometimes move back to 'In progress - Needs update'. Error Log Events: WPML_PB_Handle_Custom_Fields::is_page_builder_page_filter(): Argument #2 ($post) must be of type WP_Post, null given, called in /home/u430632096/domains/tedder-global.com/public_html/wp-includes/class-wp-hook.php on line 324 /home/u430632096/domains/tedder-global.com/public_html/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/tm/class-wpml-pb-handle-custom-fields.php:25
Please let me know when the backup is restored. I'll check what might've caused that and if we can prevent it this time.
I understood that your website allows users to upload content in different languages, which will be later translated to others. I'll see how that works as well. Thank you for your patience.
both issues seem to be connected and are not resolved.
Resetting the language switcher has caused all posts (listings) to appear as English originals, even though the listings are posted in various languages and mustn´t be mixed.
A website backup has been uploaded to walk back the listings issue.
New threads created by Lucas Vidal de Andrade and linked to this one are listed below:
Regarding issues number #2 and #3. Make sure to have a full website backup and follow these steps:
1. Go to WPML > Languages and re-save your Language URL options. No need to make any changes;
2. Go to Settings > Permalinks and re-save your options. No need to make any changes here as well;
3. Go to WPML > Support > Troubleshooting and select "Classified Listings" and click on "Synchronize posts taxonomies";
4. Go to WPML > Support > Troubleshooting and select "Custom Field" and click on "Synchronize posts taxonomies";
5. On the same page, click on "Clear the cache in WPML";
5. On the same page, click on "Remove ghost entries from translation tables";
That should fix it. To test, edit and create translations. Let me know how it goes. Please note that it might take a minute or two, until the translation is marked as complete, and you see the pencil icon. You can refresh the page after a while to check the latest status.
As for the language switcher, I've created a new ticket for it:
Thank you for sharing. As one last resort, before checking for conflicts and escalating (which is a longer process), please make sure to have a full website backup, temporarily deactivate the Wordfence Security plugin and try again.
I'm asking that, because sometimes this plugin interferes with WPML's external communications, and blocks the process of updating and saving ATE-created translations.