Skip Navigation

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

Problem:
The client needed the Spanish navigation header to display only the correct menus and sub-menus when the Spanish language was selected. They had translated the navigation header from English to Spanish using WPML, but it was not displaying properly. Also, they encountered issues updating WPML and connecting to wpml.org.

Solution:
1) We recommended updating WPML to the latest version. To resolve the update issues, we advised:
- Deleting the existing site key from the WPML account.
- Generating a new key.
- Unregistering and re-registering WPML on the site with the new key.
2) For the navigation menu issue, we suggested:
- Checking if the "Header" template-part and Navigation-menu templates were translated into Spanish.
- Completing any pending translations.
- Removing any unused Navigation menus.
- Ensuring the correct Navigation Menu is set for each page template in all languages.

We also provided a video tutorial to assist with setting the correct Navigation Menu for the templates in use.

The issue was resolved after assigning the proper Navigation menu to the "Single Post" template.

If the solution provided here is not relevant due to being outdated or not applicable to your case, we recommend opening a new support ticket. We also 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 contact us on the 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 35 replies, has 2 voices.

Last updated by colasB 10 months ago.

Assisted by: Marsel Nikolli.

Author Posts
February 13, 2024 at 8:22 am #15295856

colasB

Hi Marsel Nikolli,

As we already mentioned several times already, we translated the spanish navigation header exactly the same as we did for the french navigation header. Meaning that we used the WPML translations to translate english navigation header from english to spanish.

We know about the width. It was not like this a few days ago, but this width change bug happened from nowhere.

It has now been weeks that we encounter this issue and it is a bad news for our business while we are losing prospects from Spain.

Could you please provide us with a proper support so that the navigation header in spanish displays properly?

Thanks in advance.

February 13, 2024 at 9:04 am #15296096

Marsel Nikolli

Hi,

I understand the importance of the matter, but please note that we first dealt with the issue you were having on updating the WPML plugins and after we continued with the menu issue.

As for my question on how are you translating the menu, I apologize as maybe I didn't express myself correctly, I was referring to the steps you were following to achieve the translation of the menu.

From your website I was able to further notice from WPML -> Translation Management, that the "Header" template-part seems to not be translated yet in Spanish. Also, there are 3 different Navigation-menu templates, two of which seem to not be translated as well in Spanish. (please check attached images).

- Could you tell me how are you translating the menu step by step (if there is any difference from the instructions on the documentation I shared with you previously)?

- Could you please check the translations I mentioned above and verify that the translations are completed?

Looking forward to your reply,
Marsel

menu-header.png
header-template.png
February 13, 2024 at 3:40 pm #15298765

colasB

Hi,

No worries.

We translated as mentioned in the instructions you sent me.

We don't use "Header Navigation" or the other you pointed out, but thanks for pointing that out. To make sure I translated them but the issue still occurs.

Would you have any clue where the issue might come from? Maybe the template?

Thanks

February 14, 2024 at 1:46 pm #15302672

Marsel Nikolli

Hi,

Thank you for the information.

I noticed that when you go to WPML -> Translation Management -> Jobs there is an error notification showing up 'The Advanced Editor jobs synchronization has failed", and I noticed also some translations that have the status "In Progress" or "Needs Translation".

The issue is escalated to our 2-tier team for further debugging. I will get back to you as soon as I have a feedback from the team.

Thanks,
Marsel

February 14, 2024 at 1:58 pm #15302852

colasB

Hi Marsel,

Alright, thanks for the information.
In the meantime please let me know if there is anything we can do on our side.

Best regards,
Colas

February 14, 2024 at 2:38 pm #15302982

Marsel Nikolli

Thanks Colas, I will let you know if anything is needed from your end.

Regards,
Marsel

February 27, 2024 at 7:40 pm #15351209

colasB

Hi Marsel,

It has been 13 days now and we still did not hear anything from you. Any updates?

When are we going to be able to finally allow our visitors to switch the language in spanish?

Furthermore, the same issue is now happening in our french blog post, which becomes kind of urgently alarming: hidden link

We hope that you will help us find a solution to this critical issue soon.

Thank you,
Best regards.

February 27, 2024 at 7:50 pm #15351211

colasB

It seems someone already had a similar issue back in 2022, could you please double check if there is a workaround or something?

https://wpml.org/forums/topic/mega-menu-showing-wrong-menu-second-language/

Thanks

February 28, 2024 at 6:26 am #15351873

Marsel Nikolli

Hi Colas,

So far what we escalated initially seems to be an on going issue as we have other tickets being reported with error "The Advanced Editor jobs synchronization has failed", which was happening on your case as well ( and for some reason is not anymore).

I've checked your website and this doesn't seem to be happening anymore, could you please tell me if you did any specific update/change no your website during these days?

I've checked this ticket: https://wpml.org/forums/topic/mega-menu-showing-wrong-menu-second-language/ but it doesn't seem related to your problem as on that case they are using Elementor theme, instead you are using a FSE theme.

---

Could you please tell me if you did any change/update on this link (hidden link) that is something new) that it started to show the menu like that?

---

Can you tell me which Navigation Template are you using on the website (as I see 3 different ones on WP-Admin -> Appearance -> Editor, as well as on WPML -> Translation Management)?

February 28, 2024 at 6:47 am #15351886

colasB

Hi Marsel,

What do you mean by "it does not seem to be happening anymore"?
I re-checked in spanish and now there isn't any menu at all when switched to the spanish language: hidden link.
Any support on how to implement a spanish Navigation Header?

---

We updated the Single Part template which is related to the blog in order to display our blog articles as needed in Appearences > Editor > Template > Single Post. But from there we did update the english template, which works properly. However the Navigation menu of this specific template seems to not properly synchronise with french language.

---

We use the Navigation Header 2 as the others were default. I assume we could even delete the others for more clarity.

February 28, 2024 at 7:21 am #15351964

Marsel Nikolli

When I escalated the issue, there was an error notification showing on WPML ->Translation Management ->Job (top-right of the page) saying ""The Advanced Editor jobs synchronization has failed"", which seems to not be showing anymore (please can you check and confirm?).

On WPML ->Translation Management ->Job, I've noticed some Template Parts / Pages translations not completed (including Header Template Part Englisht -> Spanish), could you try completing the translations?

---

The issue with the menus is still on going, as you said. I would be best if you remove the Template parts not being in use and complete the translations of the ones you are using (if any translation is pending).

Also, could you make a small change to the menu in the original language (ex: add a temporary link) and try translating it again?

---

Would it be possible to switch to a default WP FSE theme, and check if the issue persists?

February 28, 2024 at 7:46 am #15352028

colasB

I confirm the Error message is still showing (cf.)

I completed the Template part translation of the header from English to Spanish. Now the navigation header menu in spanish displays all pages again: hidden link

---

I confirm that every translations of the template parts in use are completed.

As you asked, I added the sub-menu "Blog" under the menu "AZORA" on the original Header Navigation 2 (English) and it is displayed properly in French once translated.

---

I have already tried this with the Bricksy team - responsable of the template we use - when we first had the issue with the spanish language menu display and the same error occured with another default template.

I can do it again to check this issue with the french blog if really needed, but can you please confirm that it won't have any impact on the website when I turn it back to the template we use now?

Screen Shot 2024-02-28 at 8.24.19 AM.png
February 28, 2024 at 11:50 am #15353597

Marsel Nikolli

I've checked the Navigation Menu a bit further on WPML -> Translation Management, as you can see on the video here: hidden link

It seems there is a Navigation Menu in Spanish which isn't translated.

- Could you please check where the menu in Spanish is set?
- Can you tell me how the Navigation Menu are set through the website?

* We can leave the switch to WP default theme for now, we can try it on a staging site after we have sorted out the Navigation Menu placements.

February 28, 2024 at 12:34 pm #15353899

colasB

This seems to be an auto-generated menu that is not used. I opened to translate and it's empty (cf. screenshot).

All navigation menu should be coming from Header Navigation 2 translated to french and spanish from the original one which is in english.

Screen Shot 2024-02-28 at 1.30.19 PM.png
February 29, 2024 at 4:40 pm #15359506

Marsel Nikolli

Hi,

I checked further on WP-Admin -> Appearances -> Editor, and under the Navigation, the "Navegación" seems to have all the pages showing (please check attached image).

Could you please delete all the Navigation menus that are not in use and check if the issue persists?

---

If the issue persists I would need access to a staging site to troubleshoot further or a copy of your website in order to troubleshoot locally.

Let me know how it goes,
Marsel

navegacion.png