Problem: You are trying to display a translated global form using WPML on your Elementor site, but the form appears in the original English instead of the expected translation. Solution: This issue has been reported to Elementor and will be fixed in a future update of the plugin. In the meantime, we recommend adding the following code to your theme's functions.php file to ensure the Elementor global form is translated correctly. Please ensure you have a full backup of your site before proceeding.
// === WPML not translating contact forms FIX ===
if ( ! is_admin() ) {
add_filter( 'get_post_metadata', 'wpmlpb_735_translate_elementor_data', 10, 4 );
}
function wpmlpb_735_translate_elementor_data( $value, $object_id, $meta_key, $single ) {
// Only act on Elementor data
if ( '_elementor_data' !== $meta_key ) {
return $value;
}
// Temporarily remove this filter to avoid infinite recursion
remove_filter( 'get_post_metadata', 'wpmlpb_735_translate_elementor_data', 10 );
// Get the actual Elementor data
$elementor_data = get_post_meta( $object_id, '_elementor_data', $single );
// Re-add the filter
add_filter( 'get_post_metadata', 'wpmlpb_735_translate_elementor_data', 10, 4 );
// Process and convert dynamic elements if possible
if ( is_string( $elementor_data ) && ! empty( $elementor_data ) ) {
$data_array = json_decode( $elementor_data, true );
if ( is_array( $data_array ) && class_exists( '\WPML\PB\Elementor\Hooks\DynamicElements' ) ) {
$dynamic_elements = new \WPML\PB\Elementor\Hooks\DynamicElements();
$data_array = $dynamic_elements->convert( $data_array );
return json_encode( $data_array );
}
}
return $elementor_data;
}
Test this solution on a staging site first. If you encounter any issues or need further assistance, please do not hesitate to contact us. Additionally, 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 this solution does not apply or is outdated, please open a new support ticket.
Problem: The client is experiencing Internal Server Errors when using WPML for string translations, which seem to be caused by redirects related to the .htaccess file being incorrectly overwritten. This issue is typically due to another plugin causing frequent rebuilds of WordPress rewrite rules. Solution: 1. Identify the plugin that is frequently calling
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your specific 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 have installed WPML on your site and are experiencing intermittent unavailability of the REST API. The REST API becomes unavailable across the entire site for about one minute, then returns before going offline again for a few minutes. Solution: We have identified that deactivating the WPLoyalty - WooCommerce Loyalty Points, Rewards and Referral Pro plugin resolves the issue. This plugin is currently not compatible with WPML. We recommend contacting the plugin author for more insights on the issue and to check if they can provide a solution. Meanwhile, if the plugin author indicates any direct relation of WPML to the issue, please inform us.
This solution might be 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: The client is setting up a French mirror of a .com site using WPML with integrated WooCommerce. The goal is to translate products and display French archives (categories and product types) with the same content as in English. However, the French category and type pages remain empty. In WPML → Support → Troubleshooting → Translatable custom posts linking, the product line shows --select-- and does not offer 'Products (product)'. After correction, Product types (product_type) = Not translatable, but the French archives remain empty and the client cannot start translation via duplication.
Solution: We recommend updating to WooCommerce Multilingual 5.5.3, as manual modifications in VariationMeta.php are no longer active due to updates overriding custom changes. Please follow these troubleshooting steps:
1. WooCommerce Multilingual – Troubleshooting Go to: wp-admin/admin.php?page=wpml-wcml&tab=troubleshooting Perform the following actions as shown in the screenshot provided.
2. WPML – Troubleshooting If the issue persists, go to: wp-admin/admin.php?page=sitepress-multilingual-cms/menu/troubleshooting.php Then in WPML → Support → Troubleshooting, perform the following actions:
Synchronize taxonomies of posts (first for products then for variations)
Clear the cache in WPML
Delete ghost entries from translation tables
Set language information
Correct the term count
Correct the content type assignment for translations
After these steps, please test a product in English and confirm: * Do the variations reappear on the product page? * Has the 'Out of stock' message disappeared?
If these steps do not resolve the issue or if 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 the problem persists, please open a new support ticket at WPML support forum.
Problem: Si estás usando WPML en tu sitio y te aparece un mensaje cada vez que intentas editar algo, y no deseas usar la traducción automática. Solution: Este mensaje suele aparecer cuando intentas editar una traducción que fue creada usando el WPML Translation Editor con el Divi Builder. Para evitar esto, debes crear las traducciones manualmente usando el WPML Translation Editor. No es posible editar una traducción creada con el WPML Translation Editor utilizando el Divi Builder. Si prefieres usar Divi para crear una traducción desde cero, debes activar la opción adecuada, como se explica en este enlace. Para desactivar la traducción automática, ve a WPML > Translation Dashboard. Allí encontrarás un banner grande y visible para desactivar esta opción.
Si esta solución no resuelve tu problema o si la información parece desactualizada, te recomendamos abrir un nuevo ticket de soporte. También es aconsejable revisar los problemas conocidos y confirmar que tienes instaladas las últimas versiones de los temas y plugins. Para más asistencia, visita nuestro foro de soporte.