Skip Navigation

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

Problem:
The client is unable to translate certain items in the navigation bar from English to Dutch, specifically 'Africa, Asia & Europe' under 'destinations' and titles within 'itineraries'. These strings are not appearing in the WPML string translation section.
Solution:
We recommend the following steps:
1) Export the Divi layout.
2) Delete the 'Menu-1-Destinations' in both languages and clear the basket.
3) Start from scratch, using English as the outgoing language.
4) Import your existing layout and then translate it to Dutch.
5) Begin the translation via the Translation Management, filtering for 'Layout' as described here.

If this solution does not resolve your issue or seems outdated, 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 further assistance is needed, please open a new support ticket here.

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 8 replies, has 3 voices.

Last updated by Marcel 2 months, 4 weeks ago.

Assisted by: Marcel.

Author Posts
August 22, 2024 at 1:16 pm #16095109

leonv-20

Background of the issue:
I am trying to translate a few items in the navigation bar from English to Dutch on my site hidden link. I have followed similar issues on the forum.

Symptoms:
When hovering over 'destinations' in the dropdown, the text 'Africa, Asia & Europe' won't translate and I can't find them in string translation. This problem also occurs with the components within the nav item 'itineraries' where the titles like 'itinerary southern thailand' won't translate to Dutch.

Questions:
How can I translate the navigation bar items 'Africa, Asia & Europe' to Dutch?
Why can't I find these strings in the string translation section of WPML?
How can I translate the titles within the 'itineraries' nav item to Dutch?

August 22, 2024 at 3:22 pm #16095743

Marsel Nikolli

Hi,

Thank you for contacting WPML Support, I will gladly help you.

1- Can you please tell me how are you adding the menu on the site (are you using any theme option/plugin)?

2- Also, could you tell me how you are translating the menu?

Looking forward to your reply,
Marsel

August 22, 2024 at 8:10 pm #16096705

leonv-20

Hi,

The navigation is made in the plugin divi and added as global header.

And the way its currently translated is mainly through "string translation" and the automatic translation.

The problem is that i can't find the strings in the string translation list and also the admin list.

August 23, 2024 at 9:22 am #16097925

Marsel Nikolli

Hi,

Thank you for the update.

I would need temporary access to your website to investigate this issue and understand it better.

Please fully back up your site (files and database) and confirm it in your next reply.
* Note: I might need to enable/disable plugins, switch themes, and access your website database.

I would need to access your site's WP-admin.
Your next reply is set to private so you can provide the username and password details.

Thanks,
Marsel

August 27, 2024 at 2:35 pm #16110617

Marsel Nikolli

Hi,

Thank you for the access, I checked the website.

I noticed that the menu on the website is set by using DiviMenu.
From WP-Admin -> DIVI -> Divi Library you have the menu layouts, you can try translating the strings by editing the menu layout "Menu-1-Destinations", and you can change the language from the wp-admin top bar.

Let me know if that helps,
Marsel

August 29, 2024 at 1:25 pm #16120268

leonv-20

Hi,

I have tried what u suggested and i have tried a few more things.

1. change the language from top menu bar

The text in the changed language in this case "dutch" is already translated correctly but when going to the site and changing the language to dutch with the language switcher the menu items of "itineraries" stay english but in the editor they are dutch.

2. unlink the translation and translate it again

I have also tried this method i read on a different thread but with no success it boils down to the same thing: The text in the changed language in this case "dutch" is already translated correctly but when going to the site and changing the language to dutch with the language switcher the menu items of "itineraries" stay english but in the editor they are dutch.

Here are a few screenshots regarding the button with the text "All itineraries" wich translates to "Alle routes" in dutch

As u can see the first screenshot is on the english page and the second on the dutch page and they are correctly translated but it wont show on the actual webpage.

example2.PNG
example1.PNG
August 30, 2024 at 9:00 am #16123808

Marsel Nikolli

Hi,

Thank you for the update.

1) Will it be possible to update the theme and the plugins that require updating?

2) Could you please explain which of the templates is being used for the menu, ex. I see 3 different menus for the same one (please check the attached image), you can share a video (you can use loom.com and share the link with me explaining which one is used and how is being set to the header).

Looking forward to your reply,
Marsel

Screenshot 2024-08-30 105639.png
September 5, 2024 at 2:43 pm #16145698

leonv-20

Hey,

We updated the plugin and the menu that is being used is the one with the numbering

so in the case of the menu destinations its called MENU-1-Destinations

September 6, 2024 at 1:24 pm #16149172

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi,

my name is Marcel, and I will take over your ticket.

I checked the layout hidden link">you mentioned above, and for English, it shows "This is a translation of "Menu-1-Bestemmingen".

The issue here is that English is technically a Translation of Dutch, but your Default language is English right now. I recommend you:

1) Exporting the Divi layout
2) Deleting the "Menu-1-Destinations" in both languages, clearing the basket
3) And start from scratch, outgoing from English.
4) Then, you can import your existing layout and translate to Dutch.
5) Please start the translation via the Translation Management filtering for "Layout" as described here,

Best Regards,
Marcel

September 9, 2024 at 12:24 pm #16156242

leonv-20

Hey Marcel,

You are totally right!

We've fixed the issue and its now translating correctly.

Thanks for your assistance.