Problem: You are finding it difficult to translate your website after installing WPML and the String Translation plugin. Solution: We recommend deactivating WPML and the String Translation plugin, deleting them, and then installing a fresh copy of WPML 4.9.0. This approach resolved the issue in a test environment and should display the AI Translation step in the WPML Setup wizard correctly on your site. Please verify if this resolves your issue.
If this solution does not apply to your case, or if it 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 do not hesitate to open a new support ticket at WPML support forum for further assistance.
Problem: The client is experiencing an issue where the WPML options, specifically
icl_sitepress_settings
, are still very large (approximately 0.65 MB) even after updating to WPML version 4.9. Despite trying various methods such as clearing the WPML cache, removing ghost entries, and optimizing strings, the size issue persists. Solution: We are aware of the issue with the large size of
icl_sitepress_settings
and have plans to address this by moving the custom fields out of
icl_sitepress_settings
into a separate option and/or removing autoloading. However, we currently do not have a specific timeline for when these changes will be implemented as it is part of our internal backlog.
If this solution does not apply to your case, or if it seems outdated, we recommend opening 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. For further assistance, please visit our support forum at WPML Support Forum.
Problem: The client is experiencing an issue where the WPML String Translation plugin disables the preview rendering in the Cornerstone content editor. When the WPML plugin is deactivated, the content can be edited without issues. A PHP Fatal error related to DOMDocument::loadHTML() was found in the debug log. Solution: We recommend the following steps to resolve the issue: 1. Navigate to WPML >> String Translation. 2. Open the 'Auto register untranslated strings' section. 3. Select the 'Disable auto register of untranslated strings' option. 4. Click the 'Save Settings' button. 5. Clear all site/server/CDN caches and check if the Cornerstone preview works. If you're still experiencing issues or if this solution does not apply due to updates or changes, 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.
Problem: If you're experiencing slow 'Save languages' actions in WPML when MasterStudy LMS is enabled, it's due to MasterStudy LMS rebuilding its routes and flushing rewrite rules during WPML's 'Save languages' AJAX request, which is a costly operation. Solution: To address this issue, we recommend modifying the MasterStudy LMS plugin. Here are the steps: 1. Navigate to
method, add an early return for AJAX requests to prevent route/page generation and rewrite flushing during admin-ajax. Replace:
public function init() {
with:
public function init() {<br />if (wp_doing_ajax()) {<br />// WPML - No routes/pages generation and no rewrite flushing during admin-ajax.<br />return;<br />}
3. Optionally, to reduce the frequency of flush_rewrite_rules, modify it to run only once by replacing:
This solution is a workaround. A long-term fix should come from the MasterStudy LMS team. We will contact them to discuss this issue, but you can also reach out to them to expedite the process.
Please note that this solution might be irrelevant if it's outdated or not applicable 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 the issue persists, please open a new support ticket at WPML support forum.
Problem: When WPML is enabled and a visitor switches language to /en/, WordPress rewrites .htaccess with:
RewriteBase /en/
and routes requests to /en/index.php. There is no physical /en/ directory as language URLs are virtual. This causes REST API endpoints (/wp-json/, /wp-json/wp/v2/) to break and results in intermittent server-level 404 errors. Disabling WPML stops this behavior, and locking .htaccess prevents the rewrite but is only a workaround.
Solution: This issue is likely related to a known problem where .htaccess gets overwritten with the language folder. We recommend you ensure to have a full website backup and apply the solution outlined in the erratum. You can find more details and guidance here: Why is .htaccess getting overwritten with the language folder on my WPML website?
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.
Problema: Il cliente ha riscontrato un problema con la creazione di traduzioni di prodotti tramite API REST in WPML. Dopo aver creato un prodotto in italiano, tentando di creare la traduzione in inglese, viene generato un duplicato del prodotto in italiano senza creare la traduzione desiderata. Soluzione: Abbiamo testato il processo in una sandbox con le impostazioni corrette e abbiamo verificato che, se i parametri
lang
e
translation_of
sono impostati correttamente, la traduzione viene creata senza problemi. Ecco i passaggi che consigliamo di seguire: 1. Verificare che la procedura seguita corrisponda a quella testata nella nostra sandbox. 2. Assicurarsi che: - L'ID passato in
translation_of
sia quello del prodotto originale. - La lingua specificata in
lang
sia corretta e attiva sul sito. - Non ci siano filtri o hook personalizzati che potrebbero alterare la richiesta REST. Se il problema persiste, si consiglia di contattarci fornendo accesso al sito e permesso per effettuare test con le API REST, oltre a un esempio concreto del prodotto che si desidera creare. Per ulteriori dettagli, si consiglia di consultare la nostra documentazione su WPML e WooCommerce REST e la documentazione ufficiale dell'API REST di WooCommerce.
Se la soluzione proposta non risolve il problema o sembra non essere più attuale, si consiglia di verificare i problemi noti su https://wpml.org/known-issues/, controllare la versione della correzione permanente e assicurarsi di avere installate le ultime versioni di temi e plugin. In caso di ulteriori difficoltà, non esitare a aprire un nuovo ticket di supporto.
Problema: Estás trabajando con Elementor Pro y WooCommerce y te encuentras con que el widget de elección de idioma no aparece en la página de la tienda, aunque sí en otras páginas, incluidas las de productos de WooCommerce. El widget está incrustado tanto en el header como en el footer creados con Elementor Pro. A pesar de que existen traducciones para la página, WPML no parece detectarlas. Solución: El problema está relacionado con el uso del slug "formacion", que inicialmente era el slug de la tienda de WooCommerce y luego cambió a "catalogo-de-cursos". Este cambio ha afectado la forma en que WPML maneja las traducciones para esa URL. Para resolverlo, verifica y ajusta las traducciones del slug en cuestión. Además, asegúrate de tener instalada la última versión de WooCommerce (10.5.1), ya que se ha identificado un problema relacionado que fue corregido en esta versión.
Si esta solución no resuelve tu problema o si la información proporcionada se ha vuelto obsoleta, te recomendamos abrir un nuevo ticket de soporte. También es altamente recomendable que revises los problemas conocidos y verifiques que tienes instaladas las últimas versiones de los temas y plugins. Para más asistencia, visita nuestro foro de soporte.