Skip to content Skip to sidebar

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Europe/Vienna (GMT+02:00)

Tagged: 

This topic contains 6 replies, has 0 voices.

Last updated by Lucas Vidal de Andrade 2 days, 9 hours ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
October 7, 2025 at 9:45 am #17462924

lukaszP-35

Background of the issue:
I am trying to translate my whole blog post using the Spectra Image Gallery block, which contains multiple images with captions. The issue can be seen on this page: hidden link

Symptoms:
Captions in the Spectra Image Gallery block do not show up in the translation editor and are not translated. However, captions in the Image block with a single image are visible and translated properly.

Questions:
Why are captions in the Spectra Image Gallery block not appearing in the translation editor?
How can I ensure captions in the Spectra Image Gallery are translated?

October 7, 2025 at 10:15 am #17463039

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

###

I would like to look at this directly on your site. For this I would need temporary access (WP-Admin and FTP) to your site, preferably to a test/staging site where the problem has been replicated if possible.

The required fields can be found below the comments section. The information you enter is private, i.e. only you and I can see it and have access to it.

I may need to replicate your website locally. To do this, I need to temporarily install a plugin called "Duplicator" or "All in One WP Migration" on your website. This will allow me to create a copy of your website and content. Once the issue is resolved, I will delete the local website. Let me know if this works for you.

IMPORTANT

Please make a backup copy of the site files and database before giving us access.

- If you do not see the wp-admin/FTP fields, this means your post and site login details are being made PUBLIC. DO NOT post your website details if you do not see the required wp-admin/FTP fields. If you do not, ask me to enable the private box. The private box looks like this:

hidden link

October 10, 2025 at 1:05 pm #17474574

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hey there,

I thoroughly checked your website, but couldn't encounter any misconfigurations or errors that could be causing this behavior. I suspect this might be a broader compatibility issue between Spectra and WPML.

To verify that, I've created a Sandbox (a testing website), so we can check the feature from scratch, in isolation. Please install Spectra, upload some images, add the gallery to a page and try to recreate the issue there. You can access it here:

hidden link

The Sandbox has EN as primary, and DE as secondary - the language choice isn't important here. Please let me know how it goes. One page and one gallery is enough to test, so please don't import, install, or create anything that's not directly related to the translation of gallery image captions.

I know this takes some effort, so thanks in advance for your cooperation.

October 13, 2025 at 6:17 am #17478314
lukaszP-35

I’ve added a new page to the sandbox site with the elements that aren’t working correctly. The page is called “Test page – WPML.”

When I try to translate this page, the problematic elements don’t appear in the ATE editor. After completing the translation, these elements remain untranslated on the front end.

I believe I’ve added everything necessary on my side to demonstrate the issue. Please check if it’s possible to fix this. Thank you for your time and effort in addressing this matter.

New threads created by Lucas Vidal de Andrade and linked to this one are listed below:

https://wpml.org/forums/topic/split-forminator-inside-pattern-pop-up/

October 13, 2025 at 10:45 am #17479181

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello there,

Thank you so much for your cooperation. I reviewed all the inserted elements, and escalated the ticket to our compatibility team, which will bring us a permanent solution, or at least a workaround. That usually takes a few days, I'll keep you informed.

The only issue you brought, that's not directly related to Spectra, is the Forminator one. Since they're not fully related, I've created a separate ticket to address it:

https://wpml.org/forums/topic/split-forminator-inside-pattern-pop-up/

I'll explain it in more detail and answer you directly on it. Thank you.

October 23, 2025 at 5:44 am #17510721

lukaszP-35

Could you please let me know if there are any updates on this ticket?
I just wanted to check whether you’re already working on it or maybe have an idea for a solution. I’d like to finish translating the page, but this issue is still blocking me.

October 23, 2025 at 12:59 pm #17512586

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello there,

Thank you for waiting. Please ensure to have a backup and follow these steps:

1. Go to WPML > Settings > Custom XML Configuration;
2. Add this code:

<wpml-config>
  <gutenberg-blocks>
    <gutenberg-block type="uagb/info-box" translate="1">
      <xpath>//*[contains(@class, "uagb-ifb-title")]</xpath>
      <xpath>//p[contains(@class, "uagb-ifb-desc")]</xpath>
      <xpath>//span[contains(@class, "uagb-inline-editing")]</xpath>
      <key name="tempHeadingDesc" />
      <key name="ctaText" />
    </gutenberg-block>
    <gutenberg-block type="uagb/image-gallery" translate="1">
      <key name="mediaGallery">
        <key name="*">
          <key name="id"/>
          <key name="url" type="link" />
          <key name="alt" />
          <key name="link" type="link" />
          <key name="caption" />
        </key>
      </key>
      <key name="mediaIDs">
        <key name="*" />
      </key>
    </gutenberg-block>
    <gutenberg-block type="uagb/tabs" translate="1">
      <key name="tabHeaders" />
      <xpath>//*[contains(@class, "uagb-tab")]/a/div</xpath>
    </gutenberg-block>
    <gutenberg-block type="uagb/tabs-child" translate="1">
      <key name="header" />
      <key name="tabHeaders">
        <key name="*" />
      </key>
    </gutenberg-block>
    <gutenberg-block type="uagb/modal" translate="1">
      <xpath>//span[contains(@class, "uagb-inline-editing")]</xpath>
      <xpath type="link">//a[contains(@class, "uagb-modal-button-link")]/@href</xpath>
      <key name="buttonText"/>
    </gutenberg-block>
  </gutenberg-blocks>
</wpml-config>

3. Save;
4. Make a small change on the original page that contains the elements, so they're properly registered;
5. Update its translations;

THat should solve the issue, let me know.