Skip Navigation

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

Problem:
The client was experiencing an issue where the navigation links in the Divi Builder blog layout were not translating correctly. Despite translating the Dutch words for 'next' and 'previous' into English using String Translation and translating the module, the English blogs still displayed the Dutch words 'Vorige' and 'Volgende'.
Solution:
The navigation link texts were coming from a custom body template created for posts in Divi > Theme Builder. The template can be translated by going to WPML > Translation Management and using the search filter to find the 'Body Template' post type then translating the correct template. After translating the template, the issue was resolved.

Relevant Documentation:
https://wpml.org/documentation/theme-compatibility/divi-builder/#translating-divi-custom-layouts

If this solution doesn't look relevant to your situation, please open a new support ticket with us.

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 6 replies, has 2 voices.

Last updated by Mohamed Sayed 1 year ago.

Assisted by: Mohamed Sayed.

Author Posts
January 18, 2024 at 3:14 pm #15200920

margrietR

Hi,

For blogs on the mentioned website I use the Divi builder.

This blog layout contains a blog navigation module to link to next and previous texts.

I have translated the Dutch words for next and previous into English via and String Translation and by translating the module but in the English blogs I still see Vorige and Volgende (the Dutch words for Previous and for Next).

The cache has been deleted.

Example: hidden link

Many thanks in advance.

Margriet

January 18, 2024 at 7:47 pm #15202014

Mohamed Sayed

Hi Margriet,
Thanks for contacting WPML support.

Do you mean the Post Navigation Module? hidden link

I tested this module and found that the texts can be translated when translating the layout with the WPML editor.

Please delete the strings from WPML > String Translation, then edit the layout translation and check if you can find the texts there.

Screenshot_563.png
Screenshot_562.png
January 19, 2024 at 8:59 am #15203467

margrietR

Hi,

Done all that. Even saved the layout again, but it still appears in Dutch in the English blogs. Have deleted all caches etc.

As you can see for the image, the translations is made in the English layout. Not sure why it does not work on this website.

Thanks,
Margriet

ScreenHunter 3437.jpg
January 19, 2024 at 3:52 pm #15205775

Mohamed Sayed

I would need to request temporary access (WP-Admin and FTP) to investigate the issue further.
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 first❌

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

If you don't see the form below, please don't add your credentials as they will be publicly exposed:
hidden link

Privacy and Security when Providing Debug Information for Support:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Thanks for your cooperation

January 21, 2024 at 3:52 pm #15208688

Mohamed Sayed

Sorry for the late reply due to the weekend.

I couldn't find more clues or replicate the issue on my testing server. To best troubleshoot the issue, kindly create a copy of your site and provide a link to download it. You can use the Duplicator plugin (https://wordpress.org/plugins/duplicator/) or the All-in-One WP Migration plugin (https://wordpress.org/plugins/all-in-one-wp-migration/).

The plugin will create a package file that you can download then upload again to Google Drive or Dropbox and share the download link in the next reply which I have marked as private. Then I’ll escalate this issue to our developers for further investigation.

Alternatively, you can grant me permission to install the plugin so I can create the copy from my end.

Please check here for more details: https://wpml.org/faq/provide-supporters-copy-site/
Thanks for your cooperation.

January 21, 2024 at 7:23 pm #15208963

margrietR

Hi,

Unfortunately the hosting provider does not allow the plugin the create the file.

You have the login details, so maybe you can try yourself?

Margriet

January 22, 2024 at 1:12 pm #15211483

Mohamed Sayed

Hi Margriet,

I imported the site copy locally to do more tests and found that the navigation links come from a custom body template created for posts in Divi > Theme builder.

So we were checking the wrong one, please go to WPML > Translation Management and use the search filter to find the "Body Template" post type and translate the one with ID: 10212

Once I translated the template the issue was resolved as you see in the attached screenshot.

Kind regards,
Mohamed

Screenshot_576.png
Screenshot_575.png
January 22, 2024 at 1:42 pm #15211639

margrietR

Many thanks, Mohamed!

It always amazes me that 1 specific translation seems to be hidden 😉

Kind regards,
Margriet