This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing an issue where the title of an accordion made with the 'Accordion Toggle' plugin is not being translated on your product pages, even though it appears translated in the translation editor, we can help.
Solution:
To resolve this, you need to register the block for translation:
1. Navigate to WPML-> Settings-> Custom XML Configuration.
2. Insert the following code:
<wpml-config><br /> <gutenberg-blocks><br /> <gutenberg-block type="accordion-toggle/accordion-item" translate="1"><br /> <xpath>//p</xpath><br /> <xpath>//h3</xpath><br /> </gutenberg-block><br /> </gutenberg-blocks><br /></wpml-config>
3. Click 'Save'.
4. Edit the page in the default language.
5. Make a minor edit and then update it.
6. Update the translation.
After following these steps, check your translated product page to see if the title is now correctly translated. For more detailed guidance, please refer to our documentation on making custom Gutenberg blocks translatable.
If this solution doesn't look relevant to your issue, please open a new support ticket with us.
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, 8 months ago.
Assisted by: Osama Mersal.