WPML

Overview of the Issue

When using Premium Blocks for Gutenberg with WPML, the success and error messages of the Form block stay in the default language on translated pages.

Workaround

Go to WPMLSettingsCustom XML Configuration, add the following XML and save:

XML
<wpml-config>
  <gutenberg-blocks>
    <gutenberg-block type="premium/form" translate="1">
      <xpath>//button</xpath>
      <key name="successMessage" />
      <key name="errorMessage" />
    </gutenberg-block>
  </gutenberg-blocks>
</wpml-config>

Then translate the page again.

All known issues

Need Help with This Issue?

Ask a support question and we’ll look into it with you.