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
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -
- 20:00 – 23:00 20:00 – 23:00 20:00 – 23:00 20:00 – 23:00 20:00 – 23:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 1 replies, has 1 voice.

Last updated by Kor 10 months, 3 weeks ago.

Assisted by: Kor.

Author Posts
March 3, 2025 at 1:19 am #16766546

mikesonG

Background of the issue:
I am trying to translate WP Bakery blocks on my website using WPML. The issue occurs on pages such as hidden link and hidden link. The default language of the site is French, and I have followed the XML configuration steps as mentioned in a previous support ticket. A CW test site was set up in the parent ticket for further investigation. Previous ticket for reference: https://wpml.org/forums/topic/split-some-wp-bakery-blocks-are-not-translating/t.

Symptoms:
Some WP Bakery blocks are not translating correctly and still display French content, even though the page language is set to English. These pages are marked as 100% translated in ATE.

Questions:
Why are some WP Bakery blocks not translating correctly?
What steps can be taken to ensure proper translation of WP Bakery blocks?

March 3, 2025 at 1:22 am #16766565

mikesonG

Dear WPML Support Team,

I have been facing a persistent issue where some WP Bakery blocks are not translating correctly. For example, on the following pages:

hidden link
hidden link
Certain blocks still display French content, even though the page language is set to English. However, these pages are marked as 100% translated in ATE.

Site Information:
Default Language: French
Issue: WP Bakery blocks not translating properly
Previous Attempt: I followed the XML configuration steps mentioned in the previous support ticket, but the issue persists.
Additionally, a CW test site was set up in the parent ticket, which can be used for further investigation.

Frustration with Support:
I have opened multiple tickets regarding this issue over the past year, but every time, I receive a response with a so-called "solution" that does not work. The ticket gets closed without a proper resolution. This is incredibly frustrating and unprofessional.

I need this issue fixed as soon as possible. Please do not provide another generic response or a temporary workaround—this needs a proper fix.

Previous Ticket for Reference:
https://wpml.org/forums/topic/split-some-wp-bakery-blocks-are-not-translating/

Looking forward to a real solution this time.

March 5, 2025 at 1:24 am #16776395

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. I apologize for the delay in response.

I've checked your links and I can see the "activities" section at the bottom not translated correctly.

I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

Furthermore, please update all WPML plugins to the latest version.

March 11, 2025 at 12:54 pm #16801786

mikesonG

I have provided the login credentials of my website. Now please give me an update ASAP. Thanks

March 11, 2025 at 2:23 pm #16802238

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

I've checked and inserted some missing custom XML configuration below into WPML > Settings > Custom XML Configuration and you should be able to translate all contents on the posts that you shared earlier. Please go to this post hidden link and on the sidebar language section, click on the gear icon next to the English Language and translate all missing translations, then, confirming the translations should display the correct translation on the frontend.

Since I've just inserted these custom XML configurations, you'll need to click on the "Update" button of any posts that you're facing issues with completing the translations.

<wpml-config>
  <shortcodes>
    <shortcode>
      <tag>vc_message</tag>
    </shortcode>
    <shortcode>
      <tag>vc_text_separator</tag>
      <attributes>
        <attribute>title</attribute>
      </attributes>
    </shortcode>
    <shortcode>
      <tag>vc_tta_accordion</tag>
      <attributes>
        <attribute>title</attribute>
      </attributes>
    </shortcode>
    <shortcode>
      <tag>vc_tta_section</tag>
      <attributes>
        <attribute>title</attribute>
      </attributes>
    </shortcode>
    <shortcode>
      <tag>vc_column_text</tag>
      <attributes>
        <attribute>css</attribute>
      </attributes>
    </shortcode>
  </shortcodes>
  <gutenberg-blocks>
    <gutenberg-block type="core/gallery" translate="1">
      <xpath>//h2/strong</xpath>
      <xpath>//p</xpath>
      <xpath>//li/strong</xpath>
    </gutenberg-block>
    <gutenberg-block type="core/paragraph" translate="1">
      <xpath>//h2/strong</xpath>
      <xpath>//p</xpath>
      <xpath>//li/strong</xpath>
      <xpath>//li</xpath>
    </gutenberg-block>
    <gutenberg-block type="core/image" translate="1">
      <xpath>//h2/strong</xpath>
      <xpath>//p</xpath>
      <xpath>//li/strong</xpath>
      <xpath>//li</xpath>
    </gutenberg-block>
    <gutenberg-block type="core/heading" translate="1">
      <xpath>//h2/strong</xpath>
      <xpath>//p</xpath>
      <xpath>//li/strong</xpath>
      <xpath>//p/strong</xpath>
      <xpath>//li</xpath>
      <xpath>//li/span/strong</xpath>
    </gutenberg-block>
  </gutenberg-blocks>
</wpml-config>
March 12, 2025 at 12:29 pm #16806990

mikesonG

Let me try this.

March 13, 2025 at 11:40 am #16811637

mikesonG

Please don't close this ticket until I confirm. Thank you!

March 14, 2025 at 12:18 am #16813995

mikesonG

hidden link

Please check, I tried but it is not working for this post.
Not even this post's content appears fully in ATE now.

March 14, 2025 at 12:58 am #16814047

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I've checked and it looks like there is a missing paragraph tag <!-- wp:paragraph --> as shown in the attached screenshot.

I've inserted it for you and you should be able to translate the contents now as shown in the attached screenshot.

Screenshot_379.jpg
Screenshot_380.jpg
March 14, 2025 at 12:27 pm #16816726

mikesonG

Thank you! But the XML code should work on all posts and pages. Why do we have to add the tag/code for each post separately in XML every time?

March 14, 2025 at 12:44 pm #16816832

mikesonG

Can you please also check why this heading is not showing translated?

he.PNG
March 14, 2025 at 2:15 pm #16817278

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for your response.

I'm not sure why the Gutenberg tag is missing from your previous post. It's essential for WPML to scan the content; otherwise, WPML will simply skip it. This issue shouldn't occur unless the source code was manually edited. As for the missing heading, which post are you working on? I need to check.

March 15, 2025 at 6:43 pm #16820498

mikesonG

hidden link

This is the post for which the heading is missing for translation.

March 16, 2025 at 8:16 am #16821074

mikesonG

hidden link

also on this post, why WPML is not fetching the all content from the post?

bon.PNG
March 17, 2025 at 2:33 am #16822774

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I've updated more custom XML configuration and could you please complete the translation and let me know if it works now?

<wpml-config>
  <shortcodes>
    <shortcode>
      <tag>vc_message</tag>
    </shortcode>
    <shortcode>
      <tag>vc_text_separator</tag>
      <attributes>
        <attribute>title</attribute>
      </attributes>
    </shortcode>
    <shortcode>
      <tag>vc_message</tag>
      <attributes>
        <attribute>content</attribute>
      </attributes>
    </shortcode>
    <shortcode>
      <tag>vc_tta_accordion</tag>
      <attributes>
        <attribute>title</attribute>
      </attributes>
    </shortcode>
    <shortcode>
      <tag>vc_tta_section</tag>
      <attributes>
        <attribute>title</attribute>
      </attributes>
    </shortcode>
    <shortcode>
      <tag>vc_column_text</tag>
      <attributes>
        <attribute>css</attribute>
      </attributes>
    </shortcode>
  </shortcodes>
  <gutenberg-blocks>
    <gutenberg-block type="core/gallery" translate="1">
      <xpath>//h2/strong</xpath>
      <xpath>//p</xpath>
      <xpath>//li/strong</xpath>
    </gutenberg-block>
    <gutenberg-block type="core/paragraph" translate="1">
      <xpath>//h2/strong</xpath>
      <xpath>//p</xpath>
       <xpath>//p/strong/span</xpath>
      <xpath>//div/p/strong/span</xpath>
       <xpath>//p/span</xpath>
      <xpath>//li/strong</xpath>
      <xpath>//li</xpath>
    </gutenberg-block>
    <gutenberg-block type="core/image" translate="1">
      <xpath>//h2/strong</xpath>
      <xpath>//p</xpath>
      <xpath>//li/strong</xpath>
      <xpath>//li</xpath>
    </gutenberg-block>
    <gutenberg-block type="core/heading" translate="1">
      <xpath>//h2/strong</xpath>
      <xpath>//p</xpath>
      <xpath>//h3</xpath>
      <xpath>//li/strong</xpath>
      <xpath>//p/strong</xpath>
      <xpath>//li</xpath>
      <xpath>//li/span/strong</xpath>
    </gutenberg-block>
  </gutenberg-blocks>
</wpml-config>

The topic ‘[Closed] Some WP Bakery Blocks are not translating.’ is closed to new replies.