This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing issues with the layout of the home page when switching to the French language, and sometimes pages would disappear after modifications. The problem seemed to be primarily with the navigation menu. Solution: 1) We permanently deleted the menu items that were in the trash and re-translated the pages. Then, we deleted the French menu and synced the menu again, which resolved the menu issue. 2) For the home page layout issue, we suggested that the client re-create the affected section in the default language and then update the translation to see if the issue persists.
If you're experiencing similar issues, we recommend you try the following steps: - Permanently delete any menu items in the trash and re-translate your pages. - Delete the problematic menu and sync it again. - Re-create any sections of your home page that are not displaying correctly in the default language, and then update the translation.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If these steps do not resolve your issue, 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. If you still need assistance, 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.
Every time I switch to the French language, the layout of my home page is no longer correct. Sometimes pages also disappear after I make a modification. It seems to be primarily an issue with the navigation menu. Can you assist me in ensuring that the synchronization runs smoothly?
Thanks for contacting WPML forums support. I'll be glad to help you today.
1) Please let me know how this price table is created in the default language. Do you use custom Elementor widgets or templates for this section?
2) It's not related to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/)
You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line:
1) It's not a widget; I manually created these formulas using columns, styles, and text. Moreover, the layout issue is not limited to the formula alone.
I see that the issue is only in this section. Kindly check this video. (hidden link)
Please copy this section to a new test page to reproduce the issue.
If the issue is replicable, I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please backup your database and website ❌
✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.
✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.
But I think there is a misunderstanding. Could you also delete the pages directly after testing them? An additional page was appeared in the navigation menu. I already deleted it this morning.
The language switcher is not functioning properly. Please try it yourself. The pages themselves are translated correctly, but when the switcher is used, these errors occur.
When I switch to the French language, the page is still in Dutch. BUT, when I click on "Accueil" in the navigation menu, it shows the correct page. Please see the screenshot.
I think it's because a incorrect synchronisation between both menu's...
1) The messing menu items were in the trash, so I deleted them permanently and re-translated the pages. After that, I deleted the French menu and synced the menu, which fixed the menu issue.
2) For the home page, I tested it with our test page, and it works correctly when using the language switcher. (hidden link)
The layout issue happens only on the home page when switching the language. Would you please re-create this section in the default language and update the translation to check the issue?
2) It does not work! Please see the screenshot attached. Now the Dutch "home" page is on the French website. That's incorrect! Please make sure that the homepage of the French is the correct language (Accueil).
I will try to make the translations again in WPML, hopefully it will works well then.
I think I have fixed the language switcher. After I have made the French translations on the Dutch page, it worked.
Only I have still one more issue. When I want to translate the Dutch homepage to French, it's still giving the copy of the old version. Even the old text is not visible anymore.
Thanks for your updates. I found that you have a home page in the trash, so I deleted it. Please make sure to empty the trash after deleting posts/pages.
After that, I updated the current home page, and when checking the translation editor, I can see the new updated strings. (Kindly check the attached screenshot)