Skip Navigation

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

Problem:
The client has a website with the main language in English (EN) and is translating it into German (DE), Spanish (ES), and Portuguese (PT). The English version has more pages and a different menu than the translated versions. The client wants to create a custom menu for DE, ES, and PT, and is unsure how to create the menu in English and then translate it, as well as how to copy the menu from DE to ES and PT without having to recreate it manually for each language.

Solution:
We recommend the following workflow for synchronizing menus:
1. Use WPML's menu synchronization feature by navigating to WPML > WP Menus Sync. This will help you sync menus from the site's default language to other languages.
2. If a page is translated, WPML will automatically create the same menu in all languages, based on the default language.
3. For custom menu items, you can translate them at WPML > String Translation.

If you need different menus for different languages, you will need to adjust them manually for each language at Appearance > Menus.

Here is the full documentation on translating menus: https://wpml.org/documentation/getting-started-guide/translating-menus/

If this solution doesn't seem relevant to your situation, please don't hesitate to open a new support ticket with us for further assistance. You can do so here: 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 4 replies, has 2 voices.

Last updated by Andreas W. 1 year ago.

Assisted by: Andreas W..

Author Posts
November 3, 2023 at 5:25 am #14722377

erezS-3

Hi,

My scenario is as follows:

1) My main language is EN.
2) I am translating the website into DE, ES, and PT.
3) The EN version of the website has more pages and, therefore, a different menu than the translated languages.
4) DE, ES, and PT have the same content and the same menu (But each is its respective language).
5) I want to build a custom menu for the translated languages, and I understand how to do it. No problem. For example, I started with DE and created a menu for it.
6) My problems:
A) I did not find a way to create the menu in English and send it for translation via the system. Is the only way to type in the menu labels directly in the respective language?
B) After the menu is built in DE. I did not find a way to copy it to ES and PT. Is the only way to build it manually again and again for each additional language?

Please let me know what is the best procedure for my scenario.

Thanks,
Erez

November 3, 2023 at 10:42 pm #14729469

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello Erez,

General workflow:

You can sync menus from the site's default language to the other languages by going to WPML > WP Menus Sync.

If a page is translated, then WPML creates the exact same menu in all languages, based on the site's default language.

The only exception for WPML Menus Sync is the usage of custom menu items, which can be translated at WPML > String Translation.

---

If you need different menus in different languages, then you can only adjust them manually in each language at Appearance > Menus.

Full Documentation:
https://wpml.org/documentation/getting-started-guide/translating-menus/

---

Workaround:

Take note, that I did not test this yet.

The only idea I would have here is to switch the admin language inside the top admin bar for example to German, then create a menu.

In this case, the source language for this menu should be German and you should be able to sync it with WPML Menus Sync to the other languages.

Then you only would need to adjust the English menu and have three equal menus in German, Spanish, and Portuguese.

Best regards
Andreas

November 6, 2023 at 5:26 am #14734655

erezS-3

Hi,
The Menu Sync is a good direction.
However, I did not find a way to select which menu to sync.
Is the only option to sync all the menus at once?
What I need is to sync only a specific menu.
Thanks!

November 6, 2023 at 6:21 am #14734713

erezS-3

So, I saw now that I can choose what to sync, which works fine for me.
But now the problem is different.
Since the translated language menu is completely different from the English menu, I cannot use the existing primary menu as my base for translation.
Therefore, I created a new menu called "wpml_main" and added into it the menu items (In English) needed for the translated languages primary menu.
After that, I synced it and this worked fine.
Problem:
When I mark "wpml_main" as the primary in a translated language, It changes this also in English.
I need to keep the original primary menu in English and make "wpml_main" the primary menu only in the translated languages.
How?
Thanks!

November 6, 2023 at 4:54 pm #14740475

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

My apologies, as I took some time to test this today.

You can only sync menus from site's default language into other languages.

I can only suggest in this case that you sync the menu and then adjust them manually in each language.

I hope this makes sense.

Best regards
Andreas

November 7, 2023 at 5:57 am #14743055

erezS-3

I understand. However, I belive it is something you have to look into and provide us with a better solution in the future.

Thanks