This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing issues with translating 'comparison table' modules in the Rehub theme using WPML, where the table does not translate from French to other languages and the content does not appear in the WPML Advanced Translation Editor.
Solution:
We recommend adding the following XML configuration to your WP Dashboard > WPML > Settings > XML Configuration (tab):
<wpml-config><gutenberg-blocks><gutenberg-block type="rehub/comparison-table" translate="1"><key name="bottomTitle"></key><key name="prosTitle"></key><key name="consTitle"></key><key name="specTitle"></key></gutenberg-block><gutenberg-block type="rehub/comparison-item" translate="1"><key name="productTitle"></key><key name="productSubtitle"></key><key name="numberValue"></key><key name="starRating"></key><key name="bottomText"></key><key name="prosText"></key><key name="consText"></key><key name="specText"></key><key name="listTitle"></key><key name="listItems"><key name="*"></key></key></gutenberg-block><gutenberg-block type="rehub/review-heading" translate="1"><key name="title"></key><key name="subtitle"></key></gutenberg-block></gutenberg-blocks></wpml-config>
After adding the code, follow these steps:
1. Go to your Dashboard > Pages.
2. Open the edit screen of the original page and make a minor edit, like adding an extra space.
3. Save the changes. This should trigger an update for translations.
4. Edit the translation again and ensure it is saved up to 100% translated.
For more details on making custom Gutenberg blocks translatable, visit https://wpml.org/documentation/support/language-configuration-files/make-custom-gutenberg-blocks-translatable/
If this solution does not resolve your issue or seems outdated, 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 the problem persists, please open a new support ticket at https://wpml.org/forums/forum/english-support/.
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 5 days, 7 hours ago.
Assisted by: Christopher Amirian.