Skip Navigation

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

Problem:
The client created an advanced Navigation Menu (Mega Menu) with Elementor, translated it into Arabic, and published it. However, the menu still displayed the English navigation when viewed in Arabic, even after rebuilding CSS and clearing all caches.

Solution:
1. We recommended that the client should go to Appearance > Menus and manually translate the menus to Arabic.
- For more detailed instructions, we provided a documentation link: Translating Menus Manually

2. Next, we advised editing the translated Elementor menu template to ensure the correct Arabic menu is selected.

3. We also noted that the client should not edit templates or content directly in the Arabic language but instead use the WPML editor to translate content. We warned that mixing manual edits with the translation editor method could lead to issues.
- We provided another documentation link for guidance: Translate Elementor Templates

4. To resolve the issue, we edited the header template in English via Elementor, saved it, then used the WPML editor to re-translate the template and saved it again.

If this solution does not seem 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.

This topic contains 12 replies, has 2 voices.

Last updated by Dražen 1 year, 1 month ago.

Assisted by: Dražen.

Author Posts
October 26, 2023 at 4:16 pm #14672631

arneR-3

We created an advanced Navigation Menu (Mega Menu) with Elementor, Translated it in Arabic and published it.

But the Menu still shows the English Navigation in Arabic language
(after rebuilding CSS and clearing all caches)

Site link is hidden link

Kind Regards,
AR

Bildschirmfoto 2023-10-26 um 18.12.48.png
Bildschirmfoto 2023-10-26 um 18.08.44.png
October 27, 2023 at 11:55 am #14678543

Dražen
Supporter

Languages: English (English )

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

Hello,

please go to Appearance > menus and translate your menus to the 2nd language also.

- https://wpml.org/documentation/getting-started-guide/translating-menus/#option-2-translating-menus-manually

Then edit your translated Elementor menu template and make sure the correct Arabic menu is selected.

Let us know how it goes.

Regards,
Drazen

October 31, 2023 at 2:49 pm #14701157
arneR-3

We have 2 different Navigations (mobile and desktop) with mobile your suggestion works. But not for our megamenu on Desktop. Even though translations have been added, the megamenu consistently displays in the incorrect language.

New threads created by Dražen and linked to this one are listed below:

https://wpml.org/forums/topic/split-fatal-error-when-activate-string-translation/

Bildschirmfoto 2023-10-31 um 15.46.56.png
Bildschirmfoto 2023-10-31 um 15.46.37.png
Bildschirmfoto 2023-10-31 um 15.42.20.png
November 1, 2023 at 7:06 am #14705343

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks.

Please make a full backup of your site (files and database) and confirm it in your next reply.
If possible please provide access to the staging website, not production.

Please note, that I might need to do some debugging procedures like enable/disable plugins, switch themes, change the default language of the user account, and/or access your website database to debug the issue furtherly.

I will share with you any changes or steps done in this process. Please let me know if you do not agree with the above or if I do not have your permission for any.

I would need to access both your site's wp-admin and FTP account, if possible.

I have enabled the private username and password fields in your next reply.

I suggest you create a new user, set it as an administrator and then add those credentials in the private fields mentioned.

You can safely add your information into these fields.

Regards,
Drazen

November 6, 2023 at 10:21 am #14736379

Dražen
Supporter

Languages: English (English )

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

Hello,

We limit 1 issue per 1 ticket, to keep things clear and easy to follow. I have opened a new ticket for your new issue:

- https://wpml.org/forums/topic/split-fatal-error-when-activate-string-translation/

I am trying to access via FTP to check further issues, but I am having issues and it is not working. Please check shared credentials and make sure it is working, or I am not being blocked by hosting.

Thanks,
Drazen

November 6, 2023 at 1:10 pm #14737937

arneR-3

Thank you for replying so quickly. I changed the credentials now it should work.
Best regards,
Rafael

November 6, 2023 at 2:15 pm #14738763

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks but I still get and error. Can you please try to use FTP from your side and check if it works?

I get:

Response:	530 Login incorrect.
Error:	Critical error: Could not connect to server

Regards,
Drazen

November 6, 2023 at 2:42 pm #14739053

arneR-3

I am really sorry for the inconvenience, it should be working by now. If not, please let me know.

Kind regards,
Rafael

November 7, 2023 at 8:22 am #14744145

Dražen
Supporter

Languages: English (English )

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

Hello Rafael,

thanks for getting back.

I checked and it seems you are adding menu items manually on the header template. I have made a small change and re-translated the template.

The menu shows up fine now on the frontend and translated.

Regards,
Drazen

November 7, 2023 at 9:51 am #14745325

arneR-3

Hello thanky you very much but unfornutly i only see the Navi on the home page and couple of other pages on most german ones its still missing. Did you then just translated (screenshot 2023-11-07 at 10.38.39) it in here or somewhere else to ? As iam trying now the same for the arabic version but it doesnt seem to work.

Screenshot 2023-11-07 at 10.48.39.png
November 7, 2023 at 10:03 am #14745535

Dražen
Supporter

Languages: English (English )

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

Hello,

you should not edit directly any template or content in the Arabic language, but use the WPML editor to translate any content. Mixing manual and translation editor method can cause issues.

- https://wpml.org/documentation/plugins-compatibility/elementor/#translate-elementor-templates

What I did was edit your header template in English via Elementor and save it. Then clicked on arrows icon re-translated the template via the WPML editor and saved it.

Hope this helps understand.

Regards,
Drazen

November 7, 2023 at 10:23 am #14745863
arneR-3

ohh okay thank you.
I will try it out. One thing still wondering why the german nav is missing on most other pages. Aswell as the footer do you have any idea?

New threads created by Dražen and linked to this one are listed below:

https://wpml.org/forums/topic/split-why-the-german-nav-is-missing-on-most-other-pages/

November 7, 2023 at 10:25 am #14745869

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks.

I have opened a new ticket for you, and will check it out further:

- https://wpml.org/forums/topic/split-why-the-german-nav-is-missing-on-most-other-pages/

Regards.
Drazen