Problem: You want to translate the Contact form built with the DIVI Engine Form builder, but the placeholder in the form is not translated correctly. The translation appears in the Advanced Custom Fields (ACE) but not on the Front Page. Solution: We recommend adding the following XML configuration to your WPML settings to ensure that the placeholders and other form fields are correctly translated:
This configuration should help WPML recognize and translate the placeholders and other text fields within your DIVI Engine forms. If this solution does not resolve your issue or seems outdated, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If necessary, do not hesitate to open a new support ticket.
Problem: The client wants to replicate the WPML Website Language Switcher styling and behavior on their website, specifically addressing the issue of excessive space on the right of the flags in the language switcher. Solution: We recommended the client to apply custom CSS to adjust the styling of the language switcher. Here are the steps and the code provided:
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 further assistance is needed, please open a new support ticket at WPML support forum.
Problem: You have built a custom plugin for WooCommerce and added extra fields like 'Pieces per box', 'Enable custom calculation', 'Piece Height (cm)', and 'Piece Width (cm)'. You want these fields to remain consistent across all languages and be locked with a message indicating that WPML will copy its value from the original language. However, you are unable to lock these custom fields for all languages. Solution: To lock custom fields in WooCommerce to ensure they remain the same across all languages, you can use the
wcml_js_lock_fields_classes
filter. This filter allows you to specify which custom field classes should be locked in the WooCommerce native product editor for translated products. You need to add this code to the functions.php file of your theme or within your custom plugin.
/**
* Add this code to the functions.php file of your theme.
*/
add_filter( 'wcml_js_lock_fields_classes', 'add_js_lock_fields_classes' );
function add_js_lock_fields_classes( $classes ){
// Add 2 locked field classes
$classes[] = '_per_product_pricing_bto';
$classes[] = '_per_product_shipping_bto';
return $classes;
}
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 you still need assistance, please open a new support ticket at WPML support forum.
Problème : Vous souhaitez traduire des liens intégrés dans les Attributs personnalisés d'Elementor sur votre page d'accueil, mais vous ne parvenez pas à les traduire avec WPML. Solution : Nous avons identifié un code dans votre fichier
functions.php
qui gère les attributs
link|...
ajoutés aux colonnes Elementor. Pour résoudre ce problème, remplacez
home_url()
par le filtre WPML pour générer une URL adaptée à la langue :
Pour plus d'informations sur ce filtre, consultez https://wpml.org/wpml-hook/wpml_home_url/ Si vous avez besoin de compatibilité avec l'éditeur de traduction avancée de WPML, envisagez de déplacer les liens dans un champ texte ou widget standard d’Elementor et de les enregistrer via la configuration XML de WPML. Si ces solutions ne fonctionnent pas, vous pouvez envisager d'utiliser un plugin comme https://wordpress.org/plugins/make-column-clickable-elementor/ ou de contacter un prestataire WPML pour une aide personnalisée : https://wpml.org/contractors/
Si cette solution ne vous semble pas pertinente ou si elle est obsolète, nous vous recommandons de vérifier les problèmes connus sur 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.
The client is experiencing display issues on their website when translating pages into Kurdish and Urdu using WPML. These languages, which use right-to-left (RTL) scripts, show the pages as scrambled and mostly white.
Solution:
We recommend verifying if the theme used on the site fully supports RTL languages. This involves more than just text direction; it also includes layout adjustments, icons, and animations. Here are the steps to diagnose and potentially resolve the issue:
1. Ensure you have a full site backup before making changes. 2. Add another RTL language, such as Arabic or Hebrew, to see if similar display issues occur. 3. Temporarily switch to a default WordPress theme like Twenty Twenty-Four or Twenty Twenty-Five to check if the problem persists.
For more detailed guidance, please refer to our documentation on RTL support:
If these steps do not resolve the issue or if the solution seems outdated or irrelevant 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 problems persist, please open a new support ticket.