Background of the issue:
I am trying to open a translated page from the mega menu on the French version of my site at hidden link. Specifically, I want to access the 'Chambre d’hôtel - Plateaux de courtoisie' page.
Symptoms:
When I click the link, the default English page is opened instead of the correct translated page. This issue has occurred before and seems to be recurring.
Questions:
Why does the link open the default English page instead of the translated French page?
How can I ensure the language does not change when selecting an internal link?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
The problem with Mega Menus often is, that WPML > WP Menus Sync will not be able to automatically adjust such options.
In this case, you will need to go to Appearance > Menus and use the language selectors to make sure to edit each menu and their mega menu options manually in each language.
Hi Andreas,
Thanks for the reply, but this seems totally unrelated to the issue.
We have setup mega menus per langauge and associated the elementor templates per language. Templates have been translated. The mega menus contain internal site links that are directed automatically for the current selected language. This has been working fine for a long time. Suddenly it stopped working (maybe due to a release update) and now the link directs not to the selected language, but to the default language.
It seems a structural issue and affects all links on all the mega menus.
I pushed a change on the mega menu template page and refreshed the translations, but this has no effect.
Please investigate the issue and advise how to proceed.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
I would like to request temporary access (wp-admin and FTP) to the website to investigate the issue further.
You can find the required fields below the comments section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.
IMPORTANT
Please be sure to back up your website and database before granting us access.
If you can't see the "wp-admin / FTP" fields, your post and website credentials will be set to "PUBLIC." DO NOT publish the data unless you see the required wp-admin / FTP fields.
I may need to install a plugin called "All In One WP Migration" to create a copy of the website so I can investigate the issue further.
However, I would also be very grateful if you could provide a staging site or a copy of the website from your server for this purpose.
If you have any questions about creating such a staging site, you can consult your hosting provider. Please note that WPML must also be registered on this staging site at https://wpml.org/account/websites/.
If you are unable to provide such a copy of the website for testing, please let me know on this ticket.
The private reply form looks like this: hidden link
Click "I still need assistance" the next time you reply.
Video: hidden link
Please note that we are required to request this information individually on each ticket. We are not permitted to access any credentials that were not specifically submitted on this ticket using the private response form.
I noticed the issue relates to the Icon List element that we used to setup the mega menu's. There is an internal URL set for the individual entries of the icon list.
If I change the Internal URL to an actual URL and update the page translations, that solves the issue and the correct translated URL is displayed.
Please continue the investigation on the staging10, while I apply this temp fix in the live site for the customer.