Skip to content Skip to sidebar

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

Problem:
The client was experiencing issues with WPML not changing the language of the Global Divi Library, specifically with headers and menus not loading the correct translated versions on the front end. Additionally, there were problems with URL translations defaulting to "/" instead of including the language prefix after translation.
Solution:
1. For the header and menu ID translation issue, we advised the client to manually edit the translated header (AR header) and replace the menu English ID with the Arabic ID. This process involves going to Divi > Theme Builder, selecting the Global Header, and updating the IDs accordingly.
2. For the URL translation issue, we recommended using absolute URLs instead of relative ones. For example, translating '/contact' to '/ar/contact' using the Advanced Translation Editor. Additionally, for dynamic page linking, we suggested using the Dynamic field option and selecting "Page Link" with the homepage in the dropdown.

Please note that this solution might be outdated or not applicable to your specific 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 the issue persists, please open a new support ticket at WPML support forum for further assistance.

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 15 replies, has 0 voices.

Last updated by omarK-11 1 week, 2 days ago.

Assisted by: Christopher Amirian.

Author Posts
April 28, 2026 at 1:29 pm

omarK-11

WPML is not changing the language of the Global Divi Library.
hidden link

Please check this screen recording for more details.

April 28, 2026 at 2:27 pm #18000158

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Do we have permission to copy your website to our server to continue the troubleshooting of the header library problem?

We will install the plugin below to do the copy:

https://wordpress.org/plugins/bv-cloudways-automated-migration/

Thanks.

April 29, 2026 at 6:02 am #18001436

omarK-11

Yes can, please proceed.

Also check and try to fix carousel direction , because divi 5 carousel is new

April 29, 2026 at 1:11 pm #18002912

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hello,

Thanks. Let's first focus on the Divi Library at the top, which is not showing in Arabic.

I reported this to the second-tier support and am waiting for their reply.

Thanks.

May 7, 2026 at 11:01 am #18020086

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hello,

Going to Divi > Theme Builder and translating the header there was the fix on the copied website.

hidden link

But the same thing did not work on the live website, which shows there seems to be a cache or something happening on the live website.

We tried to check the live site again but the login information is not valid anymore.

May 10, 2026 at 3:58 pm #18025199

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Thank you. Asked the second tier support to take a look into this.

May 13, 2026 at 8:14 am #18032087

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

After a lot of time spent, we see that the issue is specifically happening on your website on a live server. We created a zip file so once more we can check in the local machine. We will get back to you.

May 14, 2026 at 6:26 am #18034659

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hello,

Message from the second tier support:

The EN header (id: 246222) is using a menu (divi layout 246319)

I had to manually edit the AR header (246690) and replace the menu EN id by the AR id (246321)

Would you please check if the menus are translated correctly now?

As you use relative URLs you need to go to the Advanced translation Editor and translate the links. As an example:

Translate /contact

to

/ar/contact

May 15, 2026 at 2:26 pm #18039322

omarK-11

It's working now. Could you please share a screenshot of how we update the header ID?

May 17, 2026 at 7:14 am #18040845

omarK-11

Hi Christopher,

Thank you again for your help with the header issue.

I’ve just noticed that I have the same problem with another Divi global layout (not the header). The Arabic version is created, but the correct layout is not being loaded on the front end.

Could you please guide me step by step on how to check and update the layout/menu IDs myself, similar to what you did for the header (EN ID → AR ID), so I can fix this layout and any future ones on my own?

If it helps, I can share which global layout is affected and its IDs.

Thank you!

May 17, 2026 at 1:34 pm #18041167

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

The issue was with the ID of the menu inside the header and the layout. But it seems you are talking for another issue now.

May I have more details on this issue so I can understand? Maybe if you could provide the links and screenshots on what to check.

Also if you need to provide login information, you can set the next reply as private.

Thanks.

May 20, 2026 at 2:25 am #18047124

omarK-11

When have a new Link module inside the mobile menu, the URL defaults to "/" instead of "/ar/" — the language prefix is missing after translation of canvas or layout.

Please see the attached screenshot. Kindly advise.

2026-05-20_10-19-21.jpg
May 20, 2026 at 2:54 pm #18049096

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

The reason is that you need to use the absolute URL and not the relative URL.

Instead of / please use hidden link and then make sure the changes are saved and you finish the translation to 100% and that should work.

Thanks.

May 24, 2026 at 7:27 am #18056608

omarK-11

Same issue, and you can try the following URL:
hidden link

May 25, 2026 at 1:35 pm #18058269

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hello,

I see, I went to Divi > Theme Builder and selected the Global Header, and then from the top left selected the mobile menu.

That is the one you mentioned, correct?

I tried to send the Divi Canvas for translation and it still did not work.

CHecking with the second tier support.