[Résolu] Issue with Menu and Image Display When Switching Languages on WPML and Elementor
Ce sujet est résolu. Voici une description du problème et de la solution.
Problem: The client is experiencing issues with their multilingual WordPress site using Elementor and WPML. When switching from French to English, the main navigation menu does not update, certain images in the menu do not display correctly, and single post content does not translate. Additionally, specific links cannot be translated.
Solution: 1. We recommend increasing the WP_Memory_limit to 256M to ensure the site has enough resources. Instructions on how to do this can be found in our documentation: Increasing your site's memory limit.
3. For the links translation issue, we provided a workaround: - Add custom XML configuration in WPML > Settings > Custom XML Configuration using the provided XML code. - Add the provided PHP code to the theme's functions.php file. - Make a small edit to the Menu on the front-end to allow the URLs to be found in the Translation Editor.
If this solution does not apply to your case, or if it is outdated, we highly recommend checking related known issues at WPML known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket: WPML support forum.
0% of people find this useful.
Il s'agit du forum d'assistance technique de WPML, le plug-in multilingue pour WordPress.
Il est accessible à tous, toutefois seuls les clients de WPML peuvent y publier leurs messages. L'équipe du WPML répond sur le forum 6 jours par semaine, 22 heures par jour.
I am facing multiple issues on my website, which utilizes WordPress, Elementor, and WPML for multilingual support. The primary problems occur when switching the site's language from French to English.
Menu and Image Display Issue:
When the language is changed to English, the main navigation menu does not switch to the English version.
Certain images, especially those in the menu, are either not displayed correctly or are completely hidden.
Single Post Translation Issue:
Additionally, when switching languages, the content in single posts does not translate to the selected language (English).
Les langues: Anglais (English )Français (Français )Arabe (العربية )
Fuseau horaire: Pacific/Easter (GMT-06:00)
Hello,
Thank you for contacting WPML support team,
As part of our support policy and to keep our forum easy to access for our other users, we recommend handeling one issue per ticket/chat.
That is why we should first focus on the Navigation menu issue.
Here is what see when I check your website : lien caché
it seems to be translated correctly and all images are working, please let me know if the issue persists and where to go to see it.
Furthermore, we would like to ask you to enable debug information for this matter, which will provide us with more insights about your website. You may refer to this link for instructions on how to do this: http://wpml.org/faq/provide-debug-information-faster-support/
If it is translated and you still find an issue, I would like to ask for temporary access to your test site’s wp-admin.
If necessary, I may need to replicate your site locally. To do this, I will temporarily install a plugin called “Duplicator” on your site, which will enable me to create a copy of your site and its content. Once the problem has been resolved, I will delete the local site. Please let me know if you agree to this.
It is important to note that you should back up your site and database before proceeding, and you can use a plugin like Duplicator for this purpose. Here’s a link to the plugin: http://wordpress.org/plugins/duplicator/
If you do not see the form below, please do not enter your credentials as they will be publicly exposed:
lien caché
For your privacy and security, please ensure that you make your reply a private one.
It's okay for translating of texts but I always have this problem :
- I can't translate the links. This means that when I'm on the English version and I click on an item in the mega product menu, I'm redirected to the French pages.
Les langues: Anglais (English )Français (Français )Arabe (العربية )
Fuseau horaire: Pacific/Easter (GMT-06:00)
Hello,
This URL is coming from the Mega menu widget made by unlimited-elements, I could see that they are compatible with WPML and that there shouldn't be any further configuration required for it to work : lien caché
However, we last tested this plugin on: November 28, 2023 , a lot could have changed in term of the updates of this plugin since then and I think it could be a compatibility issue.
To better find the cause of this issue, could you please open the link below, it will redirect you to a fresh WP installation with WPML, install unlimited-elements plugin on it with elementor and recreate the issue there? i could then contact our compatibility team and potentially contact the makers of this plugin to adjust the code :
Unlimited Elements Pro is activated on your WP installation !
Gérer le consentement aux cookies
Nous utilisons des cookies pour optimiser notre site web et nos services. Votre consentement nous permet de traiter des données telles que le comportement de navigation. L'absence de consentement peut affecter certaines fonctionnalités.
Fonctionnel
Toujours activé
Nécessaire au bon fonctionnement et à la communication de notre site web.
Préférences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistiques
Nous les utilisons pour analyser les statistiques de notre site. Les informations collectées sont totalement anonymes. Le stockage ou l'accès technique qui est utilisé exclusivement à des fins statistiques anonymes. Sans citation à comparaître, la conformité volontaire de la part de votre fournisseur d'accès Internet ou d'autres dossiers d'un tiers, les informations stockées ou récupérées à cette fin ne peuvent généralement pas être utilisées pour vous identifier.
Marketing
Ces cookies suivent votre navigation pour vous proposer des publicités pertinentes pour vous.