Problème : Le client a rencontré un problème où les attributs et variations d'un produit ne sont pas automatiquement traduits en français après la création d'une fiche produit sur le site 'maître' italien. Ce problème survient après une mise à jour ou une sauvegarde du produit. Solution : Nous avons suggéré au client de vérifier si l'original et les traductions étaient bien publiés. Ensuite, il devrait modifier l'original et retraduire pour permettre à WPML de copier correctement les attributs. Si le problème persiste, nous recommandons de tester le site dans un environnement minimal en désactivant tous les plugins sauf WPML et Woocommerce pour identifier un éventuel conflit. Pour lier manuellement les traductions de produits, le client peut suivre cette documentation : https://wpml.org/faq/how-to-link-already-translated-pages/.
Il est important de noter que cette solution pourrait devenir obsolète ou ne pas correspondre exactement à votre cas. Nous vous recommandons vivement de consulter 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.
You are experiencing an issue where a product page does not display correctly across different language versions, with the Finnish version appearing on all other language versions.
Solution:
If you're facing this issue, we recommend you follow these steps after ensuring you have a full site backup:
1) Upgrade to the latest version of WooCommerce (10.0.4) 2) Upgrade to the latest version of WooCommerce Multilingual (5.5.1) 3) Increase the WP Memory Limit to 256MB. For more details on increasing memory, please visit: WPML Minimum Requirements Editing wp-config.php 4) Open the problematic product for editing in the original language and make a minor change to refresh the translation settings. 5) Update the translations of the product. 6) Go to Settings >> Permalinks and resave the settings. 7) Clear all types of caches.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, 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 the problem persists, please open a new support ticket.
Problem: Der Kunde hat mehrere Probleme mit der Übersetzung seiner WooCommerce-Seite mit WPML gemeldet. Spezifische Probleme umfassen nicht übersetzte Texte und Funktionen auf der englischen Version der Seite, einschließlich eines Satzes auf der Produktseite und im Warenkorb, fehlende Produktvarianten, fehlende Texte und Checkboxen auf der Checkout-Seite sowie einen nicht übersetzten 'Kaufen'-Button. Solution: 1) Eine erneute Bearbeitung und Aktualisierung der deutschen Version löste das Problem mit den nicht angezeigten Produktvarianten auf der englischen Seite. Beispiel: die '2-in-1-Sitzbank' ist jetzt sichtbar. 2) Für die fehlenden Checkboxen und Texte auf der Checkout-Seite führte eine einfache Aktualisierung der Seite (durch Einfügen eines neuen Paragraphen im Text) zur korrekten Anzeige.
Falls diese Lösungen für Ihr Problem irrelevant erscheinen, weil sie veraltet sind oder nicht auf Ihren Fall zutreffen, 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: 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.
Problem: The client was experiencing an issue where the variation_id for products in WooCommerce was different for each language after an update, whereas previously it was the same across all languages. Solution: The client reported they added a code solution to ensure the variation_id remains consistent across different languages. The client added a custom filter to their functions.php file to force the variation_id to revert to the default language's variation_id for all languages. Here is the code snippet they used:
We didn't check this solution or had the chance to get to the bottom of this case. Please use it only if you are certain it can help in your case. And please take a backup of your site before proceeding. If this solution does not resolve your issue or seems outdated, we recommend checking the related 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: The client is experiencing an issue where the default site language is set to Estonian in WPML, but the WordPress Settings page still shows English as the default language. This discrepancy causes email templates and other content to default to English instead of Estonian. Solution: We recommend checking the language settings under Users → Profile in WordPress, as WooCommerce sends admin emails based on the language set there. For customer emails, they are sent in the language in which the order was placed. To ensure that all aspects of your site recognize Estonian as the default language, follow the detailed instructions on translating WooCommerce emails provided here: https://wpml.org/documentation/related-projects/woocommerce-multilingual/how-to-translate-woocommerce-emails/
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 with us for further assistance.
Problem: If you're experiencing issues with products not displaying in translated languages and encountering fatal errors related to memory limits, it might be due to insufficient memory allocation. Solution: We recommend following these steps to resolve the issue: 1. Ensure that the REST API is functioning correctly on your site and is not disabled or blocked by any plugin or server configuration. 2. Clear both your site cache and server-side cache. 3. Increase your PHP memory limit. The error message PHP Fatal error: Allowed memory size of... typically indicates that the server has reached the allocated memory limit. You can follow this guide to increase the memory limit via your wp-config.php file: Increasing memory allocated to PHP 4. If the issue persists after increasing the memory limit to 512M, please temporarily deactivate all plugins except WPML, WooCommerce Multilingual & Multicurrency, and WooCommerce, for testing purposes. Ensure to back up your database before making any changes.
If these steps do not resolve your 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 further assistance is needed, please open a new support ticket at WPML support forum.
The client is experiencing issues with translating certain phrases in the WooCommerce domain, specifically product review texts, while using the XStore theme. Despite the phrases being registered and translated, they only appear in English.
Solution:
We recommend the following steps to resolve the translation issues with the XStore theme:
1) Switch to the XStore parent theme. 2) Navigate to WPML >> Themes and plugins localization. 3) Perform a scan for strings in the XStore theme by selecting Scan strings in themes, plugins, and WordPress. 4) Go to WPML >> String Translation. 5) Search for the "Reviews strings" and ensure they are translated. 6) Switch back to the XStore child theme.
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 issues persist, please open a new support ticket at WPML support forum for further assistance.