WPML

Overview of the Issue

When using Premium Blocks for Gutenberg with WPML, the description and the caption of the Video Box 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/video-box" translate="1">
      <xpath>//*[contains(@class,'premium-video-box__desc_text')]</xpath>
      <xpath>//*[contains(@class,'premium-video-box__caption_text')]</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.