Problem: You might be facing two separate issues with WPML on your site. First, when WPML is enabled, no menus are visible in WP-Admin under Appearance → Menus, and the WPML Menu Sync hangs indefinitely. Second, enabling WPML and switching the language to /en/ causes WordPress to rewrite .htaccess with 'RewriteBase /en/' and route requests to /en/index.php, leading to broken REST API endpoints and intermittent 404 errors.
Solution: For the menu visibility issue, it appears to be related to the User Registration & Membership plugin, which includes flawed WPML compatibility code. You can resolve this by disabling a part of that plugin's code. Add the following to your site's functions.php or via a code snippet plugin:
This modification might affect the User Registration & Membership plugin, so it's advisable to contact their support for a more permanent solution. They should use the WPML developer API, specifically the wpml_permalink filter.
For the .htaccess rewrite issue, please provide more details by describing the problem again, so we can create a new support ticket to address it specifically.
Please note that the solutions provided might become outdated or may not directly apply to your case. If these steps do not resolve your issues, 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. If the problem persists, please open a new support ticket.
Problem: You are experiencing issues with the CSS class wp-image-ID not translating properly across different media formats in WPML. Despite translating images and checking their display on a translated page, the images either do not display or lose their CSS class, resulting in broken images. Solution: We have resolved this issue in the latest version of WPML (4.9.0). To fix the problem, please update your WPML to version 4.9.0 along with the Strings Translation to 3.5.0, Media Translation to 3.1.0, and WCML to 5.5.4. Follow these steps: 1. Go to Plugins → Add New Plugin in your site’s admin. 2. Click the Commercial tab. 3. Click the Check for updates button. 4. Select WPML 4.9 from the list and click Install. Before proceeding, ensure you make a full site backup. More details about WPML 4.9.0 can be found here: WPML 4.9.0 Changelog.
If this solution does not apply to your case, or if it seems 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 issues persist, please open a new support ticket.
Problem: The client reported accessibility issues with the WPML language switcher on their website, specifically concerning WCAG errors related to ARIA roles. The issues included incorrect roles for
elements and inappropriate role attributes for elements. Solution: We resolved these accessibility issues in the latest version of WPML (4.9.0). To update, follow these steps: 1. Go to Plugins → Add New Plugin in your site’s admin and click the Commercial tab. 2. Click the Check for updates button. 3. Select WPML 4.9 from the list and click Install. Please ensure to back up your site before updating. More details on WPML 4.9.0 can be found here: WPML 4.9.0 Changelog.
If this solution does not apply to your case, or if it seems 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 further assistance is needed, please open a new support ticket.
Problème : Vous avez ajouté une nouvelle page 'Switzerland Proposal Packages' au menu principal 'Main Menu EN' de votre site en version anglaise, mais les modifications ne s'affichent pas sur le site. Vous utilisez Kadence et un Element qui gère le menu, plutôt que le Customizer.
Solution : Le problème semble provenir du fait que votre menu n'est pas chargé via le personnalisateur de menu, mais à travers un modèle d'en-tête. Nous vous recommandons de vérifier et de modifier directement le modèle d'en-tête où le menu est intégré. Vous pouvez accéder et modifier ce modèle ici : https://morganeraposo.ch/wp-admin/post.php?post=18443&action=edit. Après modification, assurez-vous que le sous-menu est correctement ajouté et qu'il s'affiche sur le frontend.
Si cette solution ne résout pas votre problème ou semble dépassée, nous vous conseillons de consulter la page des problèmes connus à https://wpml.org/known-issues/, de vérifier la version du correctif permanent et de confirmer que vous avez installé les dernières versions des thèmes et plugins. Si le problème persiste, n'hésitez pas à ouvrir un nouveau ticket de support sur notre forum de support.
Problem: Der Kunde hat das Layout auf der Homepage geändert, was dazu führte, dass im WPML-Editor ein Block als 'Für später markiert' angezeigt wurde und die Übersetzung nur noch zu 96% abgeschlossen ist. Zusätzlich trat ein 404 Fehler auf, der im Staging-Umfeld reproduziert werden konnte. Lösung: Zuerst sollten Sie überprüfen, ob im Backend eine Admin-Benachrichtigung bezüglich des Site-Keys oder der Authentifizierung vorliegt. Für den 404 Fehler stellen Sie bitte sicher, dass die 'Pretty Permalinks' auf der Staging-Seite korrekt funktionieren. Alternativ können Sie versuchen, im Menü unter Einstellungen → Permalinks auf den URL-Parametermodus umzuschalten.
Falls diese Lösung veraltet ist oder nicht auf Ihr Problem zutrifft, empfehlen wir Ihnen, ein neues Support-Ticket zu eröffnen. Wir empfehlen auch, die Seite mit bekannten Problemen zu überprüfen, die Version der dauerhaften Lösung zu verifizieren und zu bestätigen, dass Sie die neuesten Versionen von Themes und Plugins installiert haben. Für weitere Unterstützung besuchen Sie bitte unser Support-Forum.
Problem: The client reported extreme performance issues with their WooCommerce site when WPML Multilingual CMS and WPML String Translation were enabled, causing page load times to exceed 2 minutes. The slowdown was suspected to be due to heavy database queries or translation-related overhead.
Solution: We identified that the AJAX request for WooCommerce Fragments (get_refreshed_fragments) was causing longer load times, as every fragment passed through translation filters. A known bug in WCML caused fragments to refresh multiple times unnecessarily. We suggested a workaround to disable cart fragments if an auto-updating mini-cart was not needed, using the following code:
Additionally, we found that the first uncached page load was extremely slow regardless of WPML being active, indicating a potential issue with the caching setup. We implemented the above workaround in the Child Theme, which improved the load time to about 6 seconds with WPML enabled.
We also recommended ensuring that the WPML Multilingual & Multicurrency for WooCommerce addon was enabled and that WPML and its addons were updated.
If you're experiencing similar issues, we recommend trying the provided workaround and checking your caching setup. It's also important to ensure that all WPML components are up to date. If these steps do not resolve the issue or if the solution seems outdated or irrelevant to your case, please visit our support forum at WPML Support Forum and open a new support ticket. We also 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.
Problem: You are receiving a Wordfence scan warning about a potential backdoor in the WPML String Translation plugin, specifically in the file located at /wp-content/plugins/wpml-string-translation/lib/StringScanning/vendor/wp-cli/wp-cli/features/context.feature. The warning suggests suspicious modifications that could be malicious. Solution: This is a known issue identified as a false positive by Wordfence. We are aware of this and it will be addressed in the next WPML release. For more details, please visit our errata page: https://wpml.org/errata/wordfence-reports-a-false-positive-security-warning-with-wpml-4-9-0/
If this solution does not seem relevant to your case, or if it becomes 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. If issues persist, please open a new support ticket at WPML support forum.
Problem: Vous rencontrez des problèmes avec les URL qui ne se traduisent pas correctement, entraînant des liens cassés sur votre site. Solution: Nous avons identifié que certains articles n'avaient pas l'URL correctement traduite. Par exemple, le slug 'leur-caractere' aurait dû être traduit en 'Il-loro-carattere'. Une solution consiste à utiliser une option sous WPML > Paramètres, qui permet à WPML d'utiliser simplement le titre comme URL. Si vous confirmez, nous pouvons appliquer ce réglage pour vous, ce qui ne consommera pas plus de crédits de traduction grâce à la mémoire de traduction automatique de WPML.
Il est possible que cette solution ne soit plus pertinente, soit parce qu'elle est obsolète, soit parce qu'elle ne correspond pas à votre cas. Nous vous recommandons de vérifier les problèmes connus, de vérifier la version de la correction permanente et de confirmer que vous avez installé les dernières versions des thèmes et plugins. Si le problème persiste, n'hésitez pas à ouvrir un nouveau ticket de support.