Problem: Sie haben ein Übersetzungsproblem mit 'The Events Calendar' auf Ihrer Website. Beim ersten Laden der Seite wird der Kalender nicht korrekt übersetzt, und die korrekte Übersetzung erscheint erst nach einem Klick im Kalender. Dieses Problem tritt nur auf, wenn WPML aktiviert ist. Solution: Wir empfehlen Ihnen, die folgende Umgehung zu versuchen, die speziell für Übersetzungsprobleme mit 'The Events Calendar' und nicht-blockbasierten Themes entwickelt wurde. Bitte besuchen Sie die folgende Dokumentation und befolgen Sie die dort beschriebenen Schritte: WPML Errata für The Events Calendar.
Falls diese Lösung veraltet ist oder nicht auf Ihr Problem zutrifft, empfehlen wir Ihnen, 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. Für weitere Unterstützung besuchen Sie bitte unser Support-Forum: WPML Support-Forum.
Problem: The client needs multilanguage email support for their site using Tutor LMS and WPML plugins. Tutor LMS doesn't support sending messages in the user's language, and the client attempted to implement a solution using WPML documentation but faced issues. Solution: We are currently aware of the issue with Tutor LMS where email notifications are not being translated into secondary languages. This is a known issue, and we are waiting for the author of Tutor LMS to implement this feature. For more details, please check the known issue here: https://wpml.org/errata/tutor-lms-pro-email-notifications-are-not-being-translated-in-secondary-languages/
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 issues with WP Menu Sync not picking up changes made through String Translation for custom link labels pointing to external sites. Solution: We recommended following a specific workaround detailed in our errata page for issues related to the translation of custom menu items. Here are the steps we advised: 1. Go to WPML > String Translation and delete the string registered under the Menu domain. 2. Navigate to Appearance > Menus and save the menu without making any changes to allow the menu strings to re-register for translation. 3. Return to WPML > String Translation and translate the custom menu link and label. 4. Access WPML > WP Menu Sync and perform the synchronization. Even if the English name appears initially, proceed with the synchronization. 5. After synchronization, clear the cache from WP Rocket. 6. The WP Menu Sync page will reload, displaying the translated custom menu link and label. Synchronize the menu again to update the menu label with the correct translation.
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 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.
Problema: Stai cercando di nascondere alcuni campi di Elementor con regole condizionali, specificamente se un post è correlato a un tag, certi campi non devono essere mostrati. Questo funziona solo nella prima lingua, l'inglese, ma non nei post tradotti. Soluzione: Attualmente, non supportiamo questa funzionalità nativamente. Tuttavia, i nostri sviluppatori hanno creato una soluzione alternativa che puoi trovare qui. Abbiamo testato questa soluzione nella nostra Sandbox e funziona perfettamente senza la necessità di risalvare le traduzioni o altro.
Se questa soluzione non dovesse essere più rilevante, perché potrebbe essere superata o non adatta al tuo caso, ti consigliamo di aprire un nuovo ticket di supporto. Ti raccomandiamo inoltre di controllare i problemi noti correlati su questa pagina, verificare la versione della correzione permanente e confermare che hai installato le ultime versioni dei temi e dei plugin.
Problem: The client from Valfrids webshop experienced a loss of formatting in the translated versions of their products from Swedish to German and English. They suspect the issue might be related to the WPML settings for 'XLIFF file options' and 'New lines character'. The client has already used up their translation credits and purchased additional credits. Solution: We acknowledged the formatting issue as a known problem and directed the client to our documentation on this issue at https://wpml.org/errata/line-breaks-are-ignored-when-using-the-advanced-translation-editor/. We advised the client to: 1. Edit the product in the original language and make a small change to the content. 2. Save the changes. 3. Go to WPML > Translation Management and send the product for automatic translation.
If this solution does not apply to your case, or if it seems outdated, we 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.
Problem: You are experiencing an issue where the src value in the img tag for product images on the translated version of your site is incorrect, showing a missing featured image. This problem occurs after images that were resized after they were translated. Solution: We found that the _wp_attachment_metadata was not updated for translations after the original image was replaced with a scaled one due to a script you ran. To address this, you can synchronize the metadata between the original and translated images by adding a script to your theme's functions.php file:
function wpml_sync_wp_attachment_metadata() {
// Get all original media attachments
global $wpdb;
$original_attachments = $wpdb->get_results("
SELECT element_id FROM {$wpdb->prefix}icl_translations
WHERE source_language_code IS NULL
AND element_type = 'post_attachment'
");
foreach ($original_attachments as $original_attachment) {
$original_id = $original_attachment->element_id;
// Get metadata from original
$metadata = get_post_meta($original_id, '_wp_attachment_metadata', true);
// Get translated posts for this attachment
$translations = $wpdb->get_results($wpdb->prepare("
SELECT element_id FROM {$wpdb->prefix}icl_translations
WHERE trid = (SELECT trid FROM {$wpdb->prefix}icl_translations WHERE element_id = %d AND element_type = 'post_attachment')
AND source_language_code IS NOT NULL
", $original_id));
foreach ($translations as $translation) {
$translated_id = $translation->element_id;
// Update translated post meta with the same metadata
update_post_meta($translated_id, '_wp_attachment_metadata', $metadata);
}
}
}
add_action('init', 'wpml_sync_wp_attachment_metadata');
After adding the script, reload your dashboard page and then remove the script. Ensure to back up your database before proceeding.
Please note that this code has not been thoroughly tested and is more of an idea for fixing the problem. If it doesn't work as expected, you or someone with appropriate expertise must make any necessary adjustments. The custom coding falls outside the support provided here.
This solution might not be relevant 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: If you're experiencing issues where automatic translation stops on all articles, but credits continue to drop and articles remain stuck on 'translation in progress', this might be due to a known issue with Elementor. Solution: We recommend checking the following errata page for a detailed explanation and workaround: Elementor PHP Fatal Error. Please ensure you create a backup of your site and database before applying any changes. Additionally, we are in contact with Elementor to work on a permanent fix, which may not be included in the immediate next update of Elementor but is expected in a subsequent one.
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. Should you need further assistance, please do not hesitate to open a new support ticket at WPML support forum.
Problème : Vous essayez de traduire une page, un article ou un contenu personnalisé dans l'une des 4 langues disponibles sur votre site utilisant Elementor Pro et WPML. Vous rencontrez un problème où l'icône de crayon se transforme en roue crantée, et l'article n'est pas disponible dans la langue ou n'est pas mis à jour. Un message d'erreur apparaît : 'Advanced Translation Editor Error Logs - Job Download : Call to a member function get_main_id() on null' dans le fichier /wp-content/plugins/elementor-pro/core/utils.php:81. Solution : Nous vous recommandons de consulter et d'appliquer la solution proposée sur la page d'errata de WPML pour ce problème spécifique à Elementor Pro. Vous pouvez trouver les détails ici : https://wpml.org/errata/elementor-php-fatal-error-call-to-a-member-function-get_main_id-on-null/
Si cette solution ne résout pas votre problème ou semble obsolète, nous vous conseillons 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.
Problem: The client needed a way to customize the ALT text for flag images in the WPML language switcher to improve accessibility and comply with WCAG 1.1.1, without modifying WPML core files. Solution: We advised the client that currently, the best approach to achieve the desired ALT text customization is to follow the workaround provided in our errata, which involves modifying the 'class-wpml-ls-model-build.php' file.
Unfortunately, there are no suitable hooks or filters available for this customization, and implementing custom code would be complex. We also informed the client that there is no ETA for a permanent fix but have taken their feedback as a feature request. We recommended trying the workaround after ensuring a site backup.
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 this does not resolve your issue, please open a new support ticket at WPML support forum.