Problem: The client is experiencing issues with string translations not working as expected on their Events Calendar Page when translating from English to French. Specifically, translations revert back to English after the time expires or when the option 'Look for strings while pages are rendered' is disabled. Additionally, WP_DEBUG logs indicate that translation loading for several domains was triggered too early. Solution: We recommend enabling WP DEBUG to identify any relevant errors. This issue may not be directly related to WPML but could be due to how the theme or plugins handle text domains following recent updates in WordPress 6.7. Here are the steps to follow: 1. Enable WP DEBUG by following the instructions here: https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/ 2. Check for errors similar to those described in the WPML errata here: https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/ 3. Contact the support teams of the affected plugins for updates on resolving these issues. If these steps do not resolve the issue or if you need further assistance, please 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: If you're experiencing issues with translating hard-coded theme strings using WPML, and facing problems with permalinks and slugs resulting in 404 errors, this might be due to the theme not being properly scanned for translatable strings. You might notice that despite using the 'Look for strings while pages are rendered' setting and regenerating .mo files, the translated strings do not display correctly, showing in the default language instead of the expected translation. Solution: We recommend going to your WordPress dashboard, navigating to WPML > Theme and Plugins Localization, and selecting the plugin or theme containing the problematic code. Click the scan button to ensure the code is scanned properly. After scanning, return to the String Translation page and search for the string in question to check if there's an untranslated instance. For detailed guidance, visit finding strings that don't appear on the string translation page. If the issue persists or the solution seems outdated or irrelevant to your case, 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 further assistance is needed, please open a new support ticket at WPML support forum.
Problem: You are trying to translate hardcoded theme strings using WPML and have enabled the 'Look for strings while pages are rendered' setting. Despite regenerating the .mo files and configuring a text domain, the French translations are not displaying correctly. Instead of showing 'Bleu = événement OCO', the text displays in English as 'Blue = OCO Event'. Solution: We recommend ensuring that you have used the Gettext functions to display these custom strings. For guidance on how to implement this, please refer to our documentation on Translating the Theme You Created.
If this solution does not resolve your issue or 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. If the problem persists, please open a new support ticket at WPML support forum for further assistance.
Wir verwenden Cookies, um unsere Website und Dienste zu optimieren. Ihre Zustimmung erlaubt es uns, Daten wie das Durchsuchen der Website zu verarbeiten. Wenn Sie nicht zustimmen, können einige Funktionen beeinträchtigt werden.
Funktionell
Immer aktiv
Erforderlich für den Betrieb und die korrekte Kommunikation auf unserer Website.
Präferenzen
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistiken
Wir verwenden diese, um die Statistiken unserer Website zu analysieren. Die gesammelten Informationen sind völlig anonym. Der technische Speicher oder Zugriff, der ausschließlich zu anonymen statistischen Zwecken verwendet wird. Ohne eine Vorladung, die freiwillige Einhaltung durch Ihren Internetdienstanbieter oder zusätzliche Aufzeichnungen von Dritten können die zu diesem Zweck gespeicherten oder abgerufenen Informationen in der Regel nicht dazu verwendet werden, Sie zu identifizieren.
Marketing
Diese Cookies verfolgen Ihr Surfverhalten, um für Sie relevante Werbung anzuzeigen.