If you click "Synch", it will create a list of actions to do that will synchronize the menus.
Please click "Synch", then select all of the changes and click "Apply changes".
Without fully syncing the two menus, we can't know if there is another issue, so let's first do that and proceed from there.
I managed to reduce the issue to a specific shortcode, that when added to pages causes the menu to display in Dutch. Please take a look at an example here: hidden link
I also duplicated the home page and removed the shortcode, you can see that the menu is correct: hidden link
And, also a new problem, some pages are accessable after login, but in different language, not shown, you say at your website:
This way, users can login or register for your site in their preferred language.
WordPress offers its own language switcher for login and registration pages as of WordPress 5.9. However, this only allows site users to view the login and registration pages in the language they choose. When they log in, they see the site admin area in the default language.
With WPML, you can translate your login and registration pages and seamlessly direct your site users to the admin area in the language they chose.
To do so, you first need to enable the translation of those pages, then translate the pages as normal.
If your site uses nginx, there are some extra considerations, explained below.
Enabling the Translation of Login and Registration Pages
Login and registration pages are usually accessed by going to URLs similar to these:
Registration: example.com/wp-login.php?action=register
Registering in a secondary language: example.com/fr/wp-login.php?action=register
Logging in: example.com/wp-login.php
Logging in in a secondary language: example.com/fr/wp-login.php
To translate these login and registration pages, go to WPML → Settings and scroll to Login and registration pages. Check the box to allow translations.
------------
But the problem is we do not have nginx, we have VPS with ubuntu.
Is there another way to fix this problem?
New threads created by Eran Helzer and linked to this one are listed below:
In order to be able to test this further, let's replicate it minimally in a test site.
Please use this site to make a minimal reproduction of the issue. Do not import your entire site.
Create a menu, a post or two, and add the frontpage_news shortcode. hidden link
Please update me when you are done and we will provide it to the 2nd tier.
About the second issue, I split to a separate ticket. Me or one of my colleagues will reply to you there.
The topic ‘[Closed] Main menu not working properly in secondary language’ is closed to new replies.