This thread is resolved. Here is a description of the problem and solution.
Problem:
The client reported issues with the page list block not working correctly on translated pages. Specifically, the page list in content disappears, and in navigation, it incorrectly displays a submenu from a previous translation instead of the current one.
Solution:
We recommended adding custom XML configuration to resolve the issue. Here are the steps:
1. Navigate to WPML > Settings > Custom XML Configuration.
2. Add the following code:
<wpml-config> <gutenberg-blocks> <gutenberg-block type="core/page-list" translate="0"> <key name="parentPageID" type="post-ids" sub-type="page"> </key> </gutenberg-block> </gutenberg-blocks> </wpml-config>
3. Save the changes.
4. Go to your default language page, make a small change, save, and re-translate. This should correct the display of pages in the page list block on translated pages.
Please note that this solution might become outdated or may not apply to your specific case. If the issue persists, 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 needed, please open a new support ticket at WPML support forum 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.
This topic is split from https://wpml.org/forums/topic/when-using-theme-twentytwentyfive-the-translated-language-errors-out/
This topic contains 15 replies, has 0 voices.
Last updated by 2 weeks, 3 days ago.
Assisted by: Dražen.