Skip to content Skip to sidebar

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

Problem:
The client's website, originally in French, had content that was not fully translated into English, including pages like the homepage, careers, team, contact, and an information page after clicking on "infos".

Solution:
We added the following XML configuration to the WPML-> Settings-> Custom XML tab to enable translation of the section title widget in Elementor:

<wpml-config>
  <elementor-widgets>
    <widget name="halstein_core_section_title">
      <fields>
        <field>tagline</field>
        <field>title</field>
        <field>text_field</field>
        <field>text</field>
      </fields>
    </widget>
  <elementor-widgets>
</wpml-config>

After adding this XML, the section title strings on the homepage were translated. To translate the section titles on other pages, the client should update the page in the default language and its translation.

If this solution doesn't look relevant, 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.

This topic contains 7 replies, has 2 voices.

Last updated by Osama Mersal 1 year, 8 months ago.

Assisted by: Osama Mersal.

Author Posts
November 15, 2023 at 7:49 am #14804909

arnaudS-13

Hi,

My website is originally in French langage but not all contents as been translated (I used the automatic translation).
here are the pages where there are still some French langage :
hidden link
hidden link
The Footer
hidden link
hidden link
The infos page, after clicking on "infos" (for this you can find details attached).

I have asked help yesterday but it was partially solved

Thank you for the help !

Capture d’écran 2023-11-15 à 09.46.53.png
Capture d’écran 2023-11-15 à 09.46.05.png
November 15, 2023 at 9:21 am #14806031

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

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

1) The used Elementor widgets might need to be registered for translation.

Kindly check our guide about registering page builder widgets. (https://wpml.org/documentation/support/language-configuration-files/how-to-register-page-builder-widgets-for-translation/)

If you are not familiar with XML, please let me know.

2) It would be great if you could contact the "Qi Addons For Elementor" authors and urge them to join our Go Global Program.
You can find details about it here. (https://wpml.org/documentation/theme-compatibility/go-global-program/)

3) It's unrelated to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line:

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M');

Best regards,
Osama

November 15, 2023 at 10:01 am #14806867

arnaudS-13

Hello Osama,

Thank you for the details of your answers.
Indeed I am not familiar with XML. Can someone please help ?

Thanks
best regards

November 15, 2023 at 10:31 am #14807175

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

I could help you register some widgets, but please contact the plugin support team to register the rest of widgets.

I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

November 15, 2023 at 10:45 am #14807279

arnaudS-13

I have issue on both website, so working on this website will be ok as well.

November 15, 2023 at 11:13 am #14807397

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi,

Thanks for the access details. I added the following XML to WPML-> Settings-> Custom XML tab to translate the section title widget.

<wpml-config>
  <elementor-widgets>
    <widget name="halstein_core_section_title">
      <fields>
        <field>tagline</field>
        <field>title</field>
        <field>text_field</field>
        <field>text</field>
      </fields>
    </widget>
  </elementor-widgets>
</wpml-config>

After that, the section title strings are translated on the home page. In order to translate the section titles on other pages, please update the page in the default language and its translation.

Best regards,
Osama

November 15, 2023 at 11:57 am #14807777

arnaudS-13

Hi Osama,

Big thanks, my issue is resolved (as far as I know) but I wanted to thank you personnally for this magic code.

You have been very precise and proactive.

Thanks again.

Arnaud

November 15, 2023 at 11:59 am #14807847

Osama Mersal
WPML Supporter since 02/2020

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

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

Hi Arnaud,

It's great to hear that the issue is fixed 🙂 . Please don't hesitate to open a new ticket if you face any other issues. We are always happy to help you.

Have a great day!

Best regards,
Osama

November 21, 2023 at 7:44 am #14882593

arnaudS-13

Great help, thank you Osama