This thread is resolved. Here is a description of the problem and solution.
Problem:
I am having this issue where I have translated a WordPress Pattern created with Kadence info block, but on the pages where I use this pattern, only the title is translated but not the content.
Solution:
To resolve this, follow please these steps:
1. Go to WPML > Settings > Custom XML Configuration tab.
2. Add the following XML code:
<wpml-config> <gutenberg-blocks> <gutenberg-block type="kadence/infobox" translate="1"> <xpath>//*</xpath> </gutenberg-block> </gutenberg-blocks> </wpml-config>
3. Save the configuration.
4. Edit the original pattern in the default language.
5. Make a small change to the pattern.
6. Update the translation.
This solution registers the custom blocks, making them available for translation and resolves the issue of content not being translated properly.
Relevant Documentation:
https://wpml.org/documentation/support/language-configuration-files/#gutenberg-blocks
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 3 replies, has 2 voices.
Last updated by 1 year, 6 months ago.
Assisted by: Mohamed Sayed.