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.
2. To translate links, use the Translation Editor as outlined in our documentation: How to translate URLs, shortcodes, and HTML attributes using the Advanced Translation Editor.
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.
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.
Ce sujet contient 16 réponses, a 2 voix.
Dernière mise à jour par Il y a 1 année et 5 mois.
Assisté par: Ilyes.