Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are trying to translate your entire page from Portuguese to English, but the middle section of the page is not translating correctly and still shows Portuguese text.
Solution:
We have adjusted the custom XML configuration for your site to ensure that specific Gutenberg blocks are translated correctly. Here is the updated configuration you should apply:

<wpml-config>
<gutenberg-blocks>
<gutenberg-block type="pagelayer/pl_anim_heading" translate="1">
<key name="text"></key>
<key name="rotate_text"></key>
</gutenberg-block>
<gutenberg-block type="pagelayer/pl_iconbox" translate="1">
<key name="service_heading"></key>
<xpath>//p</xpath>
</gutenberg-block>
</gutenberg-blocks>
</wpml-config>

If this solution does not resolve your issue or seems outdated, we recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.

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.

Tagged: 

This topic contains 2 replies, has 0 voices.

Last updated by dayseJ-2 1 week, 3 days ago.

Assisted by: Kor.

Author Posts
July 29, 2025 at 12:53 pm #17278836

dayseJ-2

Background of the issue:
I am trying to translate the whole page, but some parts are not working. The issue can be seen on this page: hidden link

Symptoms:
The translation for the middle of the page from Portuguese to English is not appearing as expected. Instead, I see Portuguese text.

Questions:
Why is the middle of the page not translating from Portuguese to English?
How can I ensure the entire page is translated correctly?

July 30, 2025 at 8:29 am #17280963

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for contacting us. I've checked your Website and I can see the issue you had there.

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.

August 4, 2025 at 8:05 am #17292098

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply. I'v adjusted the custom XML configuration for you here hidden link and it works fine now. Could you check?

<wpml-config>
  <gutenberg-blocks>
    <gutenberg-block type="pagelayer/pl_anim_heading" translate="1">
      <key name="text" />
      <key name="rotate_text" />
    </gutenberg-block>
    <gutenberg-block type="pagelayer/pl_iconbox" translate="1">
      <key name="service_heading" />
      <xpath>//p</xpath>
    </gutenberg-block>
  </gutenberg-blocks>
</wpml-config>
August 4, 2025 at 11:29 am #17292840

dayseJ-2

Thanks a million, now it seems good.