Skip Navigation

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

Problem:
The client was experiencing issues with incomplete translations on their website using WPML and the DIVI plugin. Specific content such as menu items and titles were not being translated correctly.
Solution:
1. For untranslated menu items, we directed the client to translate them in WPML -> String Translation. Here is the link for further guidance: https://wpml.org/documentation/getting-started-guide/string-translation/
2. For the issue with the title translation, it was necessary to register the shortcode/element used in WPML. We provided a custom XML configuration to register the element in WPML -> Settings -> Custom XML Configuration tab. The client was advised to follow the steps described in this guide: https://wpml.org/documentation/support/language-configuration-files/translate-custom-shortcodes-with-wpml/
Here is the code used to register the element:

<wpml-config><shortcodes><shortcode><tag>et_pb_heading</tag><attributes><attribute>title</attribute></attributes></shortcode></shortcodes></wpml-config>

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, 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 8 replies, has 2 voices.

Last updated by laurenO 2 weeks, 5 days ago.

Assisted by: Carlos Rojas.

Author Posts
January 9, 2025 at 7:38 pm #16579603

laurenO

Background of the issue:
I am trying to translate my site from English to French using WPML. The site URL is hidden link. I have followed the starting guides and related support forums.

Symptoms:
Not all content on the site is being translated properly, even though all web files have been translated.

Questions:
Why is not all content being translated properly?
Are there specific settings in WPML that I need to adjust?

January 10, 2025 at 11:08 am #16581700

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hello,
Thank you for contacting us

I understand you are referring to the title: 'Discover the benefits, Become a member'. If that is correct, then I kindly ask you to follow these steps:
- Edit the page in the original language
- Make a small change to that title, like adding a final dot
- Save the changes
- Click on the translation icon and update the translation (make sure it is 100%)
- Double-check if the issue disappeared

Could you tell me the results of the steps described above?

Regards,
Carlos

January 10, 2025 at 6:30 pm #16582906

laurenO

Hey Carlos,

Thank you replying!

I'm using the DIVI plugin. I tried to add a small change (add a space), but it didn't change anything. Is there something I need do differently?

Screenshot 2025-01-10 at 11.27.49 AM.png
January 13, 2025 at 10:33 am #16587683

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi there,

1.- Please share the URL of the page where the issue can be seen.

2.- I would like to take a closer look at the site configuration, so I have set your next message private so that you can securely share the access credentials to the site.

Although I won't make any changes, I need you to confirm you have a full site backup that you can restore if necessary.

Note: I tried visiting the site but I got an SSL-related error.

Looking forward to your message,
Carlos

January 15, 2025 at 10:14 am #16596568

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi,

1.- I can't access the site using the credentials shared. Please double-check the credentials and edit your previous private message if necessary.

2.- Please share the page URL where the issue can be seen.

January 15, 2025 at 6:17 pm #16598820

laurenO

Hey Carlos,

Please try this:
***

In terms of text not translating: There are headings on the homepage, part of the navigation, etc...

January 16, 2025 at 9:56 am #16600956

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Thank you for sharing the new credentials, this time I could access the site. (I removed the credentials from your message because they were publicly shared).

1.- The untranslated menu items are strings that need to be translated in WPML -> String Translation: hidden link

2.- The cause of the issue for the title translation was that the shortcode/element used was not registered in WPML. I registered in WPML -> Settings -> Custom XML Configuration tab following the steps described in this guide: https://wpml.org/documentation/support/language-configuration-files/translate-custom-shortcodes-with-wpml/
This is the code I created to register the element:

<wpml-config>
  <shortcodes>
    <shortcode>
      <tag>et_pb_heading</tag>
      <attributes>
        <attribute>title</attribute>
      </attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

Can you confirm that the issue was solved?

January 20, 2025 at 5:45 pm #16615089

laurenO

It worked on the homepage and no other pages. I ended up using a different plugin that didn't require a bunch of extra xml snippets...

Thank you anyways though! 🙂

January 20, 2025 at 5:47 pm #16615093

laurenO

Ended up going with a different plugin. Thanks again for the help. WPML, wasn't working as I had remembered it had in the past.