This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was unable to translate the options within a 'Single Choice radio' block created with Jetpack in WordPress. While the main question could be translated, the individual options such as 'Kitchen', 'Living Room' remained untranslated in WPML.
Solution:
We registered the radio buttons and checkboxes for translation by adding custom XML configuration to WPML. Here are the steps we followed:
1. Navigate to WPML-> Settings-> Custom XML Configuration tab.
2. Add the following code:
<wpml-config><br /> <gutenberg-blocks><br /> <gutenberg-block type="jetpack/field-radio" translate="1"><br /> <key name="label" /><br /> </gutenberg-block><br /> <gutenberg-block type="jetpack/field-checkbox" translate="1"><br /> <key name="label" /><br /> </gutenberg-block><br /> <gutenberg-block type="jetpack/field-option-radio" translate="1"><br /> <key name="label" /><br /> </gutenberg-block><br /> <gutenberg-block type="jetpack/field-option-checkbox" translate="1"><br /> <key name="label" /><br /> </gutenberg-block><br /> </gutenberg-blocks><br /></wpml-config>
3. Update the page and re-translate it.
For further guidance, check the guide on how to make custom Gutenberg blocks translatable.
If the solution provided does not apply to your case, or if it seems outdated, 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 do not hesitate to 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.