This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing issues with a pure HTML block that contains a contact form, such as
<div id="form-acm_55342"></div>
, not being detected in the Advanced Translation Editor (ATE) screen, we can help.
Solution:
We recommend using the custom XML configuration code below to inform WPML about the elements that need to be translated within your custom HTML code:
<wpml-config>
<gutenberg-blocks>
<gutenberg-block type="core/html" translate="1">
<xpath type="link">//div/@id</xpath>
<xpath type="link">*</xpath>
</gutenberg-block>
</gutenberg-blocks>
</wpml-config>
After adding this code to WPML > Settings > Custom XML Configuration, the form ID "form-acm_55342" should be available in ATE for translation. For more details, please visit our documentation on how to make custom Gutenberg blocks translatable.
If this solution does not apply to your case, or if it 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. Should you need further assistance, please do not hesitate to open a new support ticket at WPML support forum.
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 4 replies, has 1 voice.
Last updated by 1 week, 4 days ago.
Assisted by: Long Nguyen.

