Skip Navigation

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

Problem:
The client is attempting to set up WPML XML configuration to translate the uagb/info-box block, but the title is not being translated despite the XML configuration.
Solution:
We found that there were two XML codes for the info box (uagb/info-box) in the WPML-> Settings-> Custom XML tab. We commented out these codes. We recommend that the client creates a test page, uses the Info Box, and tries translating it to see if the issue is resolved.

If this solution does not resolve the issue or seems outdated, we advise checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that the latest versions of themes and plugins are installed. Should the problem persist, please open a new support ticket at WPML support forum.

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.

This topic contains 4 replies, has 2 voices.

Last updated by Osama Mersal 6 months, 4 weeks ago.

Assisted by: Osama Mersal.

Author Posts
June 4, 2024 at 9:41 am #15700742

marcoS-96

Background of the issue:
I am trying to set WPML XML configuration to translate the uagb/info-box block on my site hidden link. I have configured the following XML: //div/div/p //div/h2 //div/h6 //*[@class="uagb-ifb-content"] //*[@class="uagb-ifb-title-wrap"] //*[@class="uagb-ifb-title"] //*[@class="uagb-ifb-title"]/* //*[@class="uagb-ifb-desc"]

Symptoms:
The title is not being translated.

Questions:
Why is the title not being translated with the current WPML XML configuration?

June 4, 2024 at 11:01 am #15701603

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

Please log in to this sandbox site and install the Spectra plugin. (hidden link)

After that, please create a test page with the info box added, and translate it to replicate the issue.

If the issue is replicable, please let me know how to reproduce it to consult our compatibility team.

Best regards,
Osama

June 6, 2024 at 10:55 am #15710475

marcoS-96

Hi Osama,
I've set up the sandobox site.
In this case info box area translated correctly.

In next days I'll setup a staging site, cleaned from other plugins, about weyourconsult.com and I'll ask you if you can check, please.

Many thanks,

Marco

June 6, 2024 at 10:56 am #15710479

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Marco,

Thanks for your update. Please take your time and let me know when you create the staging site to check.

Best regards,
Osama

June 10, 2024 at 6:52 pm #15723678

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Marco,

Thanks for the access details. I checked your site and found two XML codes for the info box (uagb/info-box) in the WPML-> Settings-> Custom XML tab, so I commented them.

Please create a test page, use the Info Box, and translate it.

Kindly let me know if the new page is translated correctly.

Best regards,
Osama

June 12, 2024 at 3:58 pm #15732749

marcoS-96

Hi Osama, thanks a lot.
I created test page with info box and traslation are fine!

I've also changed xml config in live site and worls well.

Many thanks, Marco