Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-07:00)

This topic contains 7 replies, has 0 voices.

Last updated by Bobby 4 days, 15 hours ago.

Assisted by: Bobby.

Author Posts
September 26, 2025 at 7:05 pm #17436835

takiF

Background of the issue:
I am working on a site under development and trying to ensure that the Arabic version of the site displays the correct Arabic header and footer instead of the English ones. I have already created translatable Arabic headers and footers for the English versions.

Symptoms:
The English header and footer are still showing on the Arabic pages, specifically on the category page like hidden link and its Arabic equivalent page hidden link.

Questions:
Why are the English header and footer still showing on the Arabic pages despite having translatable versions?
How can I ensure that the Arabic header and footer are displayed correctly on all Arabic pages?

September 26, 2025 at 10:05 pm #17437333

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

When reviewing the Elementor ID for the template both pages use

data-elementor-id="11203"

If possible, please verify that the default langaguage template is indeed the ID 11203 and that is the template that is translated.

Also, re save the templates if possible and go to WPML->Support->Troubleshooting-> and clear WPML Cache.

Let me know your results, please.

September 27, 2025 at 9:07 am #17437719

takiF

Hello Bobby,

Thank you for reaching out. I am not using Elementor templates for header. I am using Besa theme component of header builder. The English header id is 11203. After translating the header with WPML it creates Arabic header with id 14050

Besa theme page:
hidden link

Besa theme documentation:
hidden link

Please bear in Mind, I assigned arabic header at homepage and inner pages manually. I need it to be show properly at product and category page
like hidden link
Its Arabic version still shows the English header hidden link

Thank you in advance

Screen Shot 2025-09-26 at 6.25.26 PM.png
Screen Shot 2025-09-27 at 12.06.48 PM.png
Screen Shot 2025-09-27 at 12.06.38 PM.png
Screen Shot 2025-09-27 at 12.04.02 PM.png
September 27, 2025 at 9:31 am #17437846

takiF

By the way, I cleared the caches as explained but it doesn't resolve.

September 29, 2025 at 8:19 pm #17442259

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for updating me!

Unfortunately when using theme builders even though they are built with Elementor theres a high chance that they are not going to work as smoothly as it would creating an Elementor template directly.

Please go try the following steps:

1. Go to WPML->Strings Translation

2. Search for "11203"

3. Add a translation and fill in the translation ID number "14050"

Let me know your results, please.

September 30, 2025 at 8:03 pm #17446411

takiF

I can't find that.

Screen Shot 2025-09-30 at 11.00.33 PM.png
September 30, 2025 at 9:34 pm #17446583

takiF

Thank you Bobby,

I could fix it.

For now.

I am using the Shortcoder plugin. I created two shortcodes:

[sc name="free"] for English

[sc name="arabicfree"] for Arabic

The problem is that Arabic pages are still showing the English shortcode instead of the Arabic one. I tried enabling Shortcoder as translatable in WPML settings and also checked String Translation, but I can’t find the shortcode there.

How can I make WPML display [sc name="arabicfree"] on Arabic pages instead of [sc name="free"]?

Thank you,

Screen Shot 2025-10-01 at 12.11.44 AM.png
Screen Shot 2025-09-30 at 11.38.54 PM.png
October 1, 2025 at 5:29 am #17447110

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Glad to hear you were able to resolve the first issue!

Regarding the shortcoder, if you have 1 shortcode per language separately, I suggest setting it back to "not translatable".

How are you assigning the shortcode? I assume manually within the page, correct?

Go to the page in question and edit the translation -> within the Advanced Translation Editor at the very top use the search function and search for the short code, do you see it?

Add the translation and replace it with the secondary language short code.

Let me know your results, please.