Problem: The client was unable to access certain translation features in WPML after an update, specifically encountering issues with translating taxonomies and products. Additionally, the client could not add a translation manager as no user was found. Solution: We recommended the following steps to resolve the issue: 1. Ensure a complete site backup is taken. 2. Open the
functions.php
file of your theme in a code editor. 3. Insert the following function to expand translation manager capabilities:
/**
* Expand translation manager caps to be able to translate taxonomies
*/
add_filter( 'user_has_cap', 'wssupp_boost_caps', 10, 1 );
function wssupp_boost_caps( $allcaps ){
$newcaps = array();
if ( isset( $allcaps['manage_translations'] ) && $allcaps['manage_translations'] ) {
$newcaps = [
"wpml_manage_taxonomy_translation" => true
];
}
return array_merge( $allcaps, $newcaps );
}
4. Save changes to the file. **** Important! Please make a full site backup (files and DB) before you proceed with these steps**** After applying these changes, check if the issue with the 'Translate Products >' button is resolved.
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.
Problem: If you're experiencing issues where product category images are not the same height across different language versions of your site, it might be due to custom CSS not being applied to the translated template. Solution: We recommend checking your default language category template for any custom CSS. If found, ensure this CSS is also added to the translated templates. Alternatively, for better management and consistency, add your custom CSS in a centralized location such as Elementor > Custom code, or Appearance > Customize > Additional CSS. Here is an example of CSS that you might need to apply:
.woocommerce ul.products li.product-category a img {<br /> width: 300; /* Ensures the image fills the container width */<br /> height: auto; /* Adjusts height to maintain aspect ratio if needed */<br /> aspect-ratio: 1 / 1; /* Forces a square format */<br /> object-fit: cover; /* Crops the image without distortion */<br />}
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.
Problema: Estás utilizando WPML en tu sitio web y deseas que el email de confirmación de pedidos se envíe en el idioma correcto según el idioma de compra del cliente. Sin embargo, tus clientes reciben el email de confirmación en español, incluso cuando la compra se realiza en otros idiomas, como el francés. Solución: Si estás experimentando este problema, te recomendamos seguir los pasos descritos en nuestra guía para traducir correctamente los emails de WooCommerce. Puedes encontrar la guía aquí: https://wpml.org/documentation/related-projects/woocommerce-multilingual/how-to-translate-woocommerce-emails/
Si la solución proporcionada no resuelve tu problema o si la información parece desactualizada, te sugerimos abrir un nuevo ticket de soporte. Te recomendamos encarecidamente revisar los problemas conocidos en https://wpml.org/known-issues/, verificar la versión de la solución permanente y confirmar que tienes instaladas las últimas versiones de los temas y plugins. Para más asistencia, visita nuestro foro de soporte en https://wpml.org/es/forums/forum/ayuda-en-espanol/.
Problem: Das Problem besteht darin, dass WPML Preisänderungen in der führenden Sprache 'DE' nicht korrekt auf die Produkte in anderen Sprachen wie 'FR' und 'EN' überträgt. Solution: 1) Erstellen Sie ein volles Backup Ihrer Website. 2) Verbinden Sie sich mit Ihrer Datenbank und führen Sie das folgende SQL-Skript aus:
DELETE FROM wp_postmeta WHERE meta_key IN ('_price', '_regular_price') AND meta_id NOT IN (SELECT max_id FROM (SELECT MAX(meta_id) as max_id FROM wp_postmeta WHERE meta_key IN ('_price', '_regular_price') GROUP BY post_id, meta_key) AS keepers);
3) Bearbeiten Sie das Produkt in der Standardsprache und schließen Sie die Übersetzung ab. Der Preis sollte nun korrekt in allen Sprachen aktualisiert werden. Zusätzlich wurde das Problem durch das Release von WooCommerce Multilingual 5.4.3 behoben, welches Sie hier finden: https://wpml.org/errata/multiple-postmeta-inserted-incorrectly-for-a-variable-product/
Falls diese Lösung nicht relevant oder veraltet erscheint oder falls das Problem weiterhin besteht, empfehlen wir, ein neues Support-Ticket zu eröffnen. Wir empfehlen auch, die Seite mit bekannten Problemen (https://wpml.org/known-issues/) 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.
Problem: Sie versuchen, die Produktverfügbarkeit auf Ihrer Produktseite korrekt zu übernehmen, wenn Sie von der Sprache DE auf FR wechseln. Die Verfügbarkeit wird jedoch nicht wie erwartet übernommen und zeigt stattdessen unterschiedliche Verfügbarkeiten an. Solution: Um das Problem zu beheben, sollten Sie das Produkt in der französischen Version löschen und dann neu übersetzen. Hier sind die Schritte, die Sie befolgen sollten: 1) Öffnen Sie die Produktbearbeitungsseite in Französisch durch diesen Link: Produktbearbeitungsseite 2) Löschen Sie das Produkt in der rechten Sidebar, wie Sie es mit einem normalen WordPress Post, Seite oder Produkt tun würden. 3) Leeren Sie den Papierkorb. 4) Übersetzen Sie das Produkt erneut.
Falls diese Lösung veraltet ist oder nicht auf Ihr Problem zutrifft, empfehlen wir Ihnen, ein neues Support-Ticket zu eröffnen. Überprüfen Sie auch die bekannten Probleme, bestätigen Sie die Version der dauerhaften Lösung und stellen Sie sicher, dass Sie die neuesten Versionen Ihrer Themes und Plugins installiert haben. Für weitere Unterstützung besuchen Sie bitte unser Support-Forum.
Проблема: После переключения языка невозможно изменить количество товара в боковой корзине. Проблема возможно связана с кэшированием или совместимостью плагина корзины с WPML. Решение: 1. Уточните, какой плагин отвечает за отображение боковой корзины и какой именно кэш вы очищаете — кэш плагина, браузера или сервера. 2. Проверьте, проходил ли данный плагин проверку на совместимость с WPML. Рекомендуем связаться с автором плагина и предложить ему принять участие в программе Go Global для обеспечения полной совместимости с WPML: Программа Go Global. 3. Убедитесь, что у вас установлены последние версии всех WPML-плагинов. Актуальные версии можно найти в разделе Моя учётная запись → Загрузки на сайте WPML: Загрузки WPML. Инструкции по обновлению доступны здесь: Как установить WPML. Если обновления не отображаются в админке, перейдите в Плагины → Добавить новый, откройте вкладку Рекомендованные и нажмите кнопку Проверить наличие обновлений.
Если проблема сохраняется, рекомендуем открыть новый тикет в службе поддержки WPML. Также рекомендуем проверить известные проблемы и убедиться, что у вас установлены последние версии тем и плагинов.
Problem: You are experiencing an issue where prices for some recently added shoes are invisible on the Lithuanian version of your website, while they are visible in the English version. Solution: First, ensure that your WPML plugin and all related add-ons are updated to the latest version, currently 4.7.3. You can check and download the latest versions from here. Next, try updating the product translation by making a small modification to the original product, saving it, and then using the WPML translation editor to update the translation. This might resolve the visibility issue of the prices. Remember to back up your database before making any changes.
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 issue persists, please open a new support ticket.
Problem: The client is experiencing issues with their WooCommerce Shop page. The Estonian Shop page is missing, and there are two Shop pages in English. Solution: If you're facing similar issues, we recommend the following steps: 1. Navigate to Pages → All Pages in your WordPress dashboard. 2. Switch the language to Estonian. 3. Translate the 'POOD' page into English. Here's what we did to resolve the issue: - Removed the existing Estonian translation of the Shop page. - Edited the 'POOD' page in English and changed its language setting to Estonian. - This setup now allows the page to be translated back into English.
Please note that this solution might be 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 the problem persists, please open a new support ticket.
Problem: You updated the price of some products on your website, but the updated price is not reflected in all languages, causing a mix of old and new prices in the translations. Solution: 1. Ensure you have a backup of your staging database. 2. Access your staging site database via phpMyAdmin. 3. Navigate to the SQL tab and execute the following SQL command:
DELETE FROM wp_postmeta WHERE meta_key IN ('_price', '_regular_price') AND meta_id NOT IN ( SELECT max_id FROM ( SELECT MAX(meta_id) as max_id FROM wp_postmeta WHERE meta_key IN ('_price', '_regular_price') GROUP BY post_id, meta_key ) AS keepers );
4. After running the SQL command, re-save the product to check if the issue persists. If you are unsure about performing these steps, consider asking your hosting support for assistance or contact us for further help.
Please note that this solution might be 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 the issue persists, please open a new support ticket at WPML support forum.
Problem: El cliente tiene un atributo con imagen que desea que sea igual en ambos idiomas sin tener que añadir la imagen dos veces. Sin embargo, no consigue que el atributo con imagen se visualice en inglés. Solution: 1. Si el cliente está creando un nuevo producto, debe duplicarlo primero y luego traducirlo. Puede seguir los pasos en esta guía: https://wpml.org/es/documentation-2/traducir-los-contenidos/mostrar-contenido-no-traducido-en-lenguas-secundarias/ 2. Si el producto ya está creado y traducido, entonces debe añadir la imagen manualmente. 3. Asegurarse de que las casillas para duplicar las imágenes estén marcadas al editar el producto en el idioma original. 4. Configurar el campo personalizado de la imagen para que se copie siguiendo los pasos en esta guía: https://wpml.org/documentation/getting-started-guide/translating-custom-fields/
Si esta solución no resuelve el problema o parece irrelevante debido a actualizaciones o diferencias en el caso específico, recomendamos abrir un nuevo ticket de soporte. También es altamente recomendable revisar los problemas conocidos en https://wpml.org/known-issues/, verificar la versión de la solución permanente y confirmar que se han instalado las últimas versiones de temas y plugins.