Skip Navigation

Open

Topic Tags: Compatibility

Overview of the issue

If you are using the Advanced Gallery block within the Kadence Blocks plugin, you will encounter that alt and caption texts are not translated in the front-end.

Workaround

Please, make sure of having a full site backup of your site before proceeding.

  • Go to WPML > Settings > Custom XML Configuration page.
  • Add the following XML:
    <wpml-config>
      <gutenberg-blocks>
        <gutenberg-block type="kadence/advancedgallery" translate="1">
          <key name="imagesDynamic">
            <key name="*">
              <key name="alt" />
              <key name="caption" />
            </key>
          </key>
        </gutenberg-block>
      </gutenberg-blocks>
    </wpml-config>
    
  • Refresh the translation by adding a small modification to the original content.

Leave a Reply

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>