Problem: Sie können die Flaggen im WPML Language Switcher nicht anklicken, um die Sprache auf Ihrer Website zu ändern. Solution: 1) Erstellen Sie zunächst ein Backup Ihrer Website. 2) Deaktivieren Sie Ihr aktuelles Theme und aktivieren Sie ein Standard-Theme, wie zum Beispiel TwentyTwenty-One. 3) Testen Sie, ob der Language Switcher mit dem Standard-Theme funktioniert. Wenn ja, liegt das Problem wahrscheinlich an spezifischen CSS-Anpassungen in Ihrem Theme. Überprüfen Sie insbesondere die CSS-Selektoren für ::active oder ::hover.
Falls diese Lösung nicht relevant ist oder veraltet erscheint, oder wenn das Problem weiterhin besteht, empfehlen wir Ihnen, ein neues Support-Ticket zu ö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: Der Kunde kann den Übersetzungseditor nicht verwenden, da er sich beim Laden aufhängt. Es wird ein Fehler angezeigt: "ATE Server Communication: Unable to authenticate". Der Fehler wurde durch eine spezifische Anpassung in der functions.php des Themes verursacht, die das eingebaute jQuery von WordPress deregistriert und es im Footer neu registriert, wodurch jQuery im WP-Admin-Bereich zu spät oder gar nicht geladen wird. Solution: Wir empfehlen, das Theme vorübergehend auf ein Standard-Theme zu wechseln, um zu überprüfen, ob das Problem weiterhin besteht. Wenn der Übersetzungseditor unter dem Standard-Theme funktioniert, liegt das Problem wahrscheinlich an der spezifischen Anpassung in der functions.php Ihres aktuellen Themes. Entfernen Sie den Code, der jQuery deregistriert und neu registriert, oder kommentieren Sie ihn aus:
Diese Lösung könnte veraltet sein oder auf Ihren Fall nicht zutreffen. Wir empfehlen Ihnen, die bekannten Probleme 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. Sollte das Problem weiterhin bestehen, zögern Sie nicht, ein neues Support-Ticket zu eröffnen. Besuchen Sie dazu unser Support-Forum.
Problem: The client is trying to synchronize product stock statuses across translations in a WordPress site using WPML. They imported products using WP All Import, and while the stock quantities sync correctly, the stock statuses do not. Translated products remain marked as 'In stock' even with 0 quantity. Solution: If manually updating each product is not feasible due to the large number of products, we recommend implementing a custom code solution. Here are the steps to follow: 1) Ensure you back up your site before proceeding. 2) Add the following code snippet to the end of the functions.php file of your active theme:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
add_action('admin_init', function() {
// Only run for admins
if(!current_user_can('manage_woocommerce')) {
return;
}
// Fetch all published product IDs
$product_ids= get_posts([
'post_type'=> 'product',
'post_status'=> 'publish',
'posts_per_page'=> -1,
'fields'=> 'ids',
]);
foreach($product_idsas$product_id) {
$product= wc_get_product($product_id);
if($product) {
$product->save(); // Re-saves the product, triggering related hooks
}
}
echo'<div class="notice notice-success is-dismissible"><p>All published products have been re-saved.</p></div>';
});
3) Visit any page in your WP Admin (like Dashboard or Products page) to trigger the script. 4) Once the script completes and shows a success notice, remove the snippet from your functions.php file. This solution requires some technical knowledge, and it's recommended for a web developer to implement it. Additionally, consider using the WPML Export & Import addon for similar tasks.
If this solution does not apply to your case, or if it seems outdated, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If the issue persists, we highly recommend opening a new support ticket at WPML support forum.
Problem: You are managing multilingual options on your website with English as the default language and French as the secondary. When updating an option with the same value as the default language, the French option in the database becomes empty. This occurs due to the behavior in WPML's class-wpml-multilingual-options.php. Solution: This behavior is intentional for optimization in WPML. If the translated option value is identical to the original language's value, WPML deletes the translated option to avoid duplication in the database. This means that if the values are the same, WPML will not store them separately and will fall back to the original value. If you need to force the translation of admin strings or save options in different languages, consider using the following hooks:
If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. Also, check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum.
Problem: Sie möchten WPML von Version 4.6.x auf 4.7.x aktualisieren und verwenden viele individuelle WPML-Filter und Aktionen sowie das globale
1
$sitepress
-Objekt für
1
get_current_language()
und
1
switch_lang()
. Sie fragen nach möglichen breaking changes, die Entwickler berücksichtigen sollten. Solution: Wir sind uns keiner Änderungen bewusst, die Probleme verursachen könnten. Wir empfehlen Ihnen, das Changelog von WPML zu überprüfen, um sicherzustellen, dass keine relevanten Änderungen übersehen werden. Das Changelog finden Sie hier: WPML Changelog. Außerdem sollten Sie die aktuellen Hooks überprüfen, die hier verfügbar sind: WPML Hooks Reference. Um sicherzugehen, empfehlen wir, zuerst eine Staging-Site einzurichten und das Update dort zu testen, bevor Sie es auf Ihrer Live-Site durchführen.
Falls diese Lösung veraltet ist oder nicht auf Ihr Problem zutrifft, empfehlen wir Ihnen, ein neues Support-Ticket zu öffnen. Überprüfen Sie auch die bekannten Probleme unter https://wpml.org/known-issues/, bestätigen Sie die Version der dauerhaften Lösung und stellen Sie sicher, 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: Vous avez créé un thème WP avec un header, un footer, et un composant CTA, tous traduits dans deux langues supplémentaires. Ces éléments s'affichent correctement traduits sur toutes les pages, sauf pour les single posts, où ils restent en français malgré la configuration pour afficher les traductions si elles existent. Solution: 1. Assurez-vous que vos modèles sont correctement traduits et assignés. Allez dans Apparence > Éditeur de site (Site Editor). Cliquez sur Modèles > Single. En haut à droite, cliquez sur l’icône de langue et vérifiez qu'une version existe pour chaque langue. Si ce n’est pas le cas, créez une version traduite du modèle via l’éditeur. Dans la version traduite, réinsérez manuellement les éléments globaux traduits (Header, Footer, CTA). 2. Si vous chargez des éléments via
Si cette solution ne résout pas votre problème ou semble obsolète, nous vous recommandons de vérifier les problèmes connus, 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: You are trying to display a list of posts using WP_Query in the site's current language, but the query returns posts in the default language. Solution: To ensure that WP_Query returns posts in the current language of the site, you need to modify your query arguments. Specifically, add
1
"suppress_filters=0"
to your arguments in the WP_Query or get_posts function. This change will allow WP_Query to filter the posts according to the current language. For more detailed guidance on achieving WPML compatibility with your themes and plugins, please visit: WPML Theme and Plugin Compatibility
If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. Additionally, 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. For further assistance, please visit our support forum at WPML Support Forum.
Problem: You are using custom code to automatically duplicate new posts into another language on your site. However, when updating the translation of a post and then updating the original post again, the translation gets overwritten unless 'translate independently' is manually selected. Solution: When duplicating a post, the duplicated posts contain a meta_key entry "_icl_lang_duplicate_of" in the wp_postmeta table. To prevent translations from being overwritten, you can remove this meta_key entry. This can be done either manually or by writing custom code. For more information on how to implement this, you can refer to the WPML Coding API at https://wpml.org/documentation/support/wpml-coding-api/ and the WPML Hooks Reference at https://wpml.org/documentation/support/wpml-coding-api/wpml-hooks-reference/.
If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. We also 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. For further assistance, please visit our support forum at https://wpml.org/forums/forum/english-support/.
Problem: Generally it is expected that a Custom Post Type Archive will not be accessible if no posts have been translated yet. In this case the client tried to create a custom language switcher to solve the issue. Solution: For custom language switchers, note that you can use the hook wpml_active_languages to manually generate the correct URLs for your language switcher. Here's an example, but take note that you need to adapt the code to your needs. For example "post-type-name" "slug-name" would be the slug that you would like to translate and this hook will make it translatable:
Please note, that this is a custom solution and might not have been tested in every setup. It's beyond WPML's built-in functionality, so our support doesn’t cover debugging custom code. If this solution does not resolve your issue or seems irrelevant due to being 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 further assistance is needed, please open a new support ticket.
The client is trying to translate your website using WPML, but some strings are not translated in certain languages. While translations are present in some languages, they are missing in others. This issue arises because the custom coding in your website does not follow WordPress localization standards, preventing WordPress from detecting these strings for translation.
Solution:
To resolve this issue, the client has to modify the code in the
file. This file contains conditions specifically for Polish, German, and French, which is why texts appear in English for other languages. Consult with your developers to make the necessary changes. For more details on WordPress localization standards, please visit WordPress Internationalization Guidelines.
If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. 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. For further assistance, please contact our support forum at WPML Support Forum.
Problem: Sie verwenden WPML AI für automatische Übersetzungen und haben einen Pagebuilder mit ACF entwickelt. Bei vielen Seiten werden die ACF Felder nicht angelegt, obwohl die Übersetzungen im Übersetzungseditor vorhanden sind. Im WordPress Editor hingegen findet man eine leere Seite vor. Solution: Wir empfehlen Ihnen, in WPML > Einstellungen > Benutzerdefinierte Felder übersetzen zu gehen und auf "Systemfelder anzeigen" zu klicken. Stellen Sie dann die Felder, die sich auf den "Page Builder" beziehen (also die Einstellungen), auf "Kopieren". Dies sollte das Problem lösen, dass die Felder nicht kopiert werden. Wenn Sie den Inhalt erneut zur Übersetzung senden, sollten die Felder wie erwartet kopiert werden. Weitere Informationen finden Sie in unserer Dokumentation zur Übersetzung benutzerdefinierter Felder: https://wpml.org/documentation/getting-started-guide/translating-custom-fields/
Diese Lösung könnte veraltet sein oder nicht auf Ihren Fall zutreffen. Wir empfehlen Ihnen, die neuesten Versionen Ihrer Themes und Plugins zu überprüfen und bei weiteren Problemen ein neues Support-Ticket zu eröffnen. Besuchen Sie auch unsere Seite mit bekannten Problemen: https://wpml.org/known-issues/
Problem: Der Kunde hat festgestellt, dass die Tooltips im Sprachumschalter seiner mehrsprachigen WordPress-Website, die mit Yootheme/Page Builder erstellt wurde, unerwartet geändert wurden. Die Tooltips zeigen nun "Wechseln zu ...", "Switch to ...", "Passer à ..." anstelle der ursprünglich programmierten Sprachnamen wie "Deutsch", "English", "Français".
Solution: Wir haben erklärt, dass dieses Verhalten vom WPML Sprachumschalter stammt und nicht über die Plugin-Optionen entfernt werden kann. Es wird wahrscheinlich aus Gründen der Barrierefreiheit oder Benutzerfreundlichkeit hinzugefügt. Wir haben zwei mögliche Lösungen vorgeschlagen: 1. Verwenden Sie CSS, um die Interaktion mit dem Link zu deaktivieren:
1
a[title="Switch to English"] {<br /> pointer-events: none;<br />}
2. Oder verwenden Sie JavaScript, um das title Attribut zu entfernen:
1
document.querySelectorAll('a[title="Switch to English"]').forEach(el => {<br /> el.removeAttribute('title');<br />});
Falls diese Lösung nicht mehr relevant 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 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: Der Kunde hat einem WooCommerce-Shop, der je eine Währung per Bankverbindung für Zahlungen anbietet. Alle hinterlegten Bankkonten werden in der Bestellbestätigungs- und Zahlungsaufforderungs-E-Mail angezeigt, unabhängig von der gewählten Währung. Der Kunde fragt, ob es möglich ist, dass nur das relevante Bankkonto in der E-Mail angezeigt wird. Solution: Wir haben darauf hingewiesen, dass das Anpassen von WooCommerce E-Mail Templates nicht direkt durch WPML unterstützt wird und auch der WooCommerce Support empfiehlt, hierfür einen unabhängigen Entwickler zu beauftragen. Wir haben bisher keine ähnlichen Anfragen gehabt und können daher keine direkte Lösung anbieten. Wir können jedoch versuchen, das Problem auf einer Testseite zu replizieren und uns daraufhin wieder melden.
Der Kunde antwortete daraufhin: Inzwischen konnte ich mein Problem mit dem Plugin "Gateway for Wise on WooCommerce" lösen. Es scheint die gewünschte Funktionalität zu bieten, sodass nun nur noch die relevanten Bankdaten je nach gewählter Währung angezeigt werden.
Bitte beachten Sie, dass diese Lösung möglicherweise veraltet oder nicht auf Ihren Fall zutreffend ist. Wir empfehlen Ihnen, die bekannten Probleme 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. Sollten weiterhin Probleme auftreten, zögern Sie nicht, ein neues Support-Ticket zu eröffnen.
Problem: You are trying to redirect incoming links that use the ?lang=en parameter to a specific path, but the system still redirects to the base language despite using custom code. Solution: We recommend using a tested and approved redirection plugin that works well with WPML. You can find this plugin here: https://wpml.org/plugin/redirection/ If you need further customization, consider hiring a specialist from our Contractors service, available here: https://wpml.org/contractors/
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 open a new support ticket at WPML support forum.
당사는 웹사이트와 서비스를 최적화하기 위해 쿠키를 사용합니다.
사용자의 동의를 통해 탐색 행동과 같은 데이터를 처리할 수 있습니다.
동의하지 않으면 일부 기능에 영향을 미칠 수 있습니다.
기능적
항상 활성화
웹사이트가 올바르게 작동하고 통신하는 데 필요합니다.
기본 설정
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
통계
당사는 이를 사용하여 사이트의 통계를 분석합니다.
수집된 정보는 완전히 익명으로 처리됩니다. 익명 통계 목적으로만 사용되는 기술적 저장 또는 접근입니다. 소환장, 인터넷 서비스 제공자의 자발적인 협조 또는 제3자의 추가 기록 없이, 이 목적으로 저장되거나 검색된 정보는 일반적으로 귀하를 식별하는 데 사용할 수 없습니다.