I have created this clean sandbox setup on our servers here: hidden link (one-click login)
I would need you to please set up WPML + the WPML add-ons as you have them on your site (they are already installed) and also install the Astra theme + Spectra and try to recreate the issue.
Please don't install anything else like plugins that are not necessary, on a clean sandbox we try to use just the WPML plugins and the plugin/theme that's part of the issue
If the issue is going to take place on this clean setup on our servers too, then I can forward this to our compatibility department.
Please let me know how that goes and what you can find.
My site currently has existing this code, how should I further embed the code you provide would be the best?
<wpml-config>
<gutenberg-blocks>
<gutenberg-block type="uagb/info-box" translate="1">
<!-- XPath for the entire paragraph area containing the specific text -->
<xpath>//div[contains(@class, 'wp-block-uagb-info-box')]//p[contains(@class, 'uagb-ifb-desc')]</xpath>
<!-- XPath for the h2 tag -->
<xpath>//div[@class='uagb-ifb-content']/div[@class='uagb-ifb-title-wrap']/h2[@class='uagb-ifb-title']</xpath>
<!-- XPath for the h6 tag -->
<xpath>//div[@class='uagb-ifb-content']/div[@class='uagb-ifb-title-wrap']/h6[@class='uagb-ifb-title']</xpath>
<!-- XPath for the h4 title -->
<xpath>//div[@class='wp-block-uagb-info-box']//h4[@class='uagb-ifb-title']</xpath>
<!-- XPath for the 'Read More' button text -->
<xpath>//div[contains(@class, 'wp-block-uagb-info-box')]//div[contains(@class, 'uagb-ifb-button-wrapper')]//span[contains(@class, 'uagb-inline-editing')]</xpath>
<!-- XPath for the 'Surgical Insights' text in the h4 tag -->
<xpath>//div[contains(@class, 'wp-block-uagb-info-box')]//h4[contains(@class, 'uagb-ifb-title')]</xpath>
</gutenberg-block>
</gutenberg-blocks>
</wpml-config>
Please replace the code you have with the following:
<wpml-config>
<gutenberg-blocks>
<gutenberg-block type="uagb/info-box" translate="1">
<!-- XPath for the entire paragraph area containing the specific text -->
<xpath>//div[contains(@class, 'wp-block-uagb-info-box')]//p[contains(@class, 'uagb-ifb-desc')]</xpath>
<!-- XPath for the h2 tag -->
<xpath>//div[@class='uagb-ifb-content']/div[@class='uagb-ifb-title-wrap']/h2[@class='uagb-ifb-title']</xpath>
<!-- XPath for the h6 tag -->
<xpath>//div[@class='uagb-ifb-content']/div[@class='uagb-ifb-title-wrap']/h6[@class='uagb-ifb-title']</xpath>
<!-- XPath for the h4 title -->
<xpath>//div[@class='wp-block-uagb-info-box']//h4[@class='uagb-ifb-title']</xpath>
<!-- XPath for the 'Read More' button text -->
<xpath>//div[contains(@class, 'wp-block-uagb-info-box')]//div[contains(@class, 'uagb-ifb-button-wrapper')]//span[contains(@class, 'uagb-inline-editing')]</xpath>
<!-- XPath for the 'Surgical Insights' text in the h4 tag -->
<xpath>//div[contains(@class, 'wp-block-uagb-info-box')]//h4[contains(@class, 'uagb-ifb-title')]</xpath>
</gutenberg-block>
<gutenberg-block type="uagb/forms" translate="1">
<key name="submitButtonText"/>
<xpath>//button/div</xpath>
</gutenberg-block>
</gutenberg-blocks>
</wpml-config>