Skip Navigation

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

Problem:
The client reported that the order of the menu items had changed unexpectedly, with the language switcher moving from the last to the second position in the menu. Additionally, the client could only select menus from the current main language, despite the display showing a menu from a previously set main language.
Solution:
We recommended the client to adjust the order of the languages by navigating to WPML >> Languages >> Language Switcher Options > Order of languages. This adjustment should help in setting the language switcher back to its desired position at the end of the menu. Furthermore, we suggested that the issue with the menu order might be a temporary glitch and recommended moving the navigation menu around to see if it resolves the issue.

If this solution does not apply to your case, or if it 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. Should the problem persist, please do not hesitate to open a new support ticket with us for further assistance at 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 14 replies, has 2 voices.

Last updated by Kor 9 months, 2 weeks ago.

Assisted by: Kor.

Author Posts
September 3, 2024 at 2:27 pm #16136143

mariusE-4

Background of the issue:
We have connected a new domain (website.com). Previously, it was website.de with the main language as German and sub-languages as English and French. Now, the main language is English (.com) and sub-languages are .com/de and .com/fr.

Symptoms:
On the German page (that used to be the main page), the language switcher moved to the second place in the ul.

Questions:
Why did the language switcher move to the second place in the ul on the German page?

September 3, 2024 at 3:02 pm #16136490

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thank you for contacting WPML Support. You should be able to change the order of languages from WPML >> Languages >> Language Switcher Options > Order of languages.

Could you give this a try and let me know if it helps?

12126287-drag_drop_to_change_the_order.png
September 3, 2024 at 3:23 pm #16136597

mariusE-4

I was talking about the order of the menu items.
the language switcher used to sit at the end of the menu, now it's second in place.
It is set to last menu item.
From the menus i can also only pick the menus of the now main language.
(though it is still displaying a menu from the previous main page)
Sorry i don't really understand how all these things are connected.

Bildschirmfoto 2024-09-03 um 17.20.07 (2).png
September 3, 2024 at 3:27 pm #16136631

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

The navigation menu lists shown in your screenshot are created in WP > Appearance > Menus.

Maybe you can check your navigation menus to see if the menus that you're referring to is still there?

If not, I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

September 5, 2024 at 9:51 am #16144100

mariusE-4

IDK about the server protection details.

Domain was changed from .de to .com
before: main language: german
now: main language englisch

problem: can't assign menus to german page
language switcher moved to second position

(the first list item was the only one that existed as an english version before)

September 5, 2024 at 9:53 am #16144108

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

You can ignore the server protection details and just provide the credentials that are required to access the Website.

September 5, 2024 at 4:37 pm #16145998

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I'm getting "Error: The password you entered for the email address nicole@forge12.com is incorrect. " and could you please recheck your credentials?

September 6, 2024 at 9:08 am #16147855

mariusE-4

Hi 🙂
I need an email address to add you as a user to wordpress

September 6, 2024 at 12:39 pm #16149062

mariusE-4

you should have received an invitation via email 🙂

September 6, 2024 at 2:54 pm #16149426

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Certainly! Here’s a rephrased version:

"Thank you for your response.

I’ve reviewed the setup and everything appears to be in order. Since English is set as the default language, the 'Menu language switcher' will display menus from this default language. The correct four English menus are showing, as indicated in the attached screenshot.

Could you please clarify what you’re trying to achieve and provide a bit more detail on the issue?"

Screenshot_2.png
September 6, 2024 at 3:46 pm #16149643

mariusE-4

Sure:

For the german version, the language switcher sits behind the second menu item.
The switcher used to sit (as set via wpml settings) at the end of the menu.
(the end of the german menu is '14 Gründe für uns').

The first menu item is the only one, that used to have an english translation (now english is the main language, so maybe somehow the switcher 'thinks' that is the only existing page).

also i can no longer assign different german menus to the german page, but idt that is a wpml issue.

Bildschirmfoto 2024-09-06 um 17.38.29.jpg
September 9, 2024 at 7:11 pm #16158627

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I can see the issue now. I regret any inconvenience caused, but to proceed with troubleshooting, I kindly ask for a snapshot of the site. Alternatively, with your permission, I can create one myself. For this purpose, I typically recommend using the free plugin "Duplicator." If you're already familiar with Duplicator (https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.

To guide you further, please adhere to these instructions:

1. View the Duplicator instructions video: hidden link

2. Consult WPML's instructions on providing supporters with a copy of your site: https://wpml.org/faq/provide-supporters-copy-site/

3. If the archive file exceeds 400MB, please use Duplicator's file filters to exclude cache, wp-uploads directory, media, and archive files.

Once you have the archive file ready, kindly share the link with us. You can utilize platforms like Google Drive, Dropbox, or similar for file sharing, as the snapshot file might be large.

Please note that your next reply will be private, visible only to you and me. You can paste the file link there. Rest assured that once the issue is resolved, I will delete the local site.

September 12, 2024 at 4:15 pm #16172821

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

Sorry for the delays. I've downloaded the package and I will investigate this and will come back to you as quickly as possible.

September 16, 2024 at 8:50 pm #16185555

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

I cannot find a solution for this and I will escalate this to our 2nd Tier Support for further investigation. I will come back to you once I've feedback.

September 17, 2024 at 5:09 pm #16190027

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Could you please check now? It looks like a glitch and moving the navigation menu around seems to fix it. hidden link