WPML

Overview of the Issue

When using Premium Blocks for Gutenberg with WPML, the animated words of the Fancy Text block stay in the default language on translated pages. The prefix and the suffix translate.

Workaround

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

XML
<wpml-config>
  <gutenberg-blocks>
    <gutenberg-block type="premium/fancy-text" translate="1">
      <xpath>//span</xpath>
      <xpath>//li</xpath>
      <xpath>//*[@data-strings]/@data-strings</xpath>
    </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.