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: 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.
Problem: Sie möchten den Sprachumschalter im Menü (Seitenfuß) linksbündig anordnen, aber er ist zentriert. Solution: Um den Sprachumschalter linksbündig zu positionieren, können Sie folgenden CSS-Code verwenden:
1
ul .wpml-ls-menu-item a {<br /> align-items: baseline !important;<br />}
Bitte testen Sie diesen Code und lassen Sie uns wissen, ob es funktioniert.
Falls diese Lösung veraltet erscheint 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 unter https://wpml.org/de/forums/forum/deutsch-support/.
Problem: You are trying to display featured images on a translated page of your site using WPML, but the images are not appearing on the translated pages.
Solution: First, ensure that the media translation settings are correctly configured: 1. Back up your site for safety. 2. Open the default language post in Edit mode and enable the following options: - Duplicate uploaded media to translations - Duplicate featured image to translations 3. Navigate to WPML >> Settings >> Media Translation, select all checkboxes, and press the Start button. 4. Clear all types of site/server/CDN cache.
If the issue persists, it might be related to CSS styling. You can add custom CSS to address this: 1. Go to WP > Appearance > Customize > Additional CSS. 2. Insert the following CSS code:
Please note that this solution might be outdated or not applicable to your specific case. If these steps do not resolve your issue, 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 needed, please open a new support ticket for further assistance.
Problem: You want to set the WordPress Editor as the default and hide the WPML Editor choice from other users in the WordPress interface.
Solution:
You can use the following custom code to your active theme's functions.php file to hide the editor choice on the post edit screen for users who do not have 'manage_options' capability:
IMPORTANT: Please note that this is not an officially supported solution, but a proposed workaround to only suite this special need!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
* Disable translation editor choice on post edit screens
// If there are callbacks at this priority, remove them all
if( isset( $hook->callbacks[ $priority] ) ) {
unset( $hook->callbacks[ $priority] );
}
}
}
}, 1 );
Please note, this code will remove the choice of editors from the post/page edit screen, specifically from the language section. Ensure you select your preferred editor before applying this code. Administrators will still have the choice available unless you modify the code to include them.
If this solution does not apply to your situation, or if it becomes outdated, we highly recommend checking related 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.
Problem: The client needs to duplicate approximately 15,000 products to all languages on their WooCommerce site but finds the translation management page limiting as it only allows duplicating 100 products at a time. Solution: We recommend using the WPML hooks
1
wpml_make_post_duplicates
and
1
wpml_admin_make_post_duplicates
for bulk duplication of products. These hooks can help automate the process. However, implementing custom code using these hooks is outside our support scope. We advise testing the hooks on a staging or sandbox site first to ensure they meet your needs. For more details on these hooks, please visit the WPML Hooks Reference page at WPML Hooks Reference.
If this solution does not apply to your case, or if it seems outdated, 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. Should you need further assistance, please do not hesitate to open a new support ticket at WPML Support Forum.
The client needed assistance setting up WPML for a new section of their website (***la.hr/stay/) to have language-specific homepages and consistent URL structures across different languages, similar to their main site configuration.
Solution:
We advised the client that the desired setup would require custom coding as it involves linking two separate WordPress installations, which is beyond the standard WPML support scope. We suggested setting the default language homepage to the 'Stay' page from WordPress settings and translating this homepage into other languages.
Additionally, we recommended using the 'A different domain per language' option for URL formats, but noted that this would require specifying exact domains for each language. For further details on setting up language URL options, please refer to this documentation.
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.
Chúng tôi sử dụng cookie để tối ưu hóa trang web và dịch vụ của mình. Sự đồng ý của bạn cho phép chúng tôi xử lý dữ liệu như hành vi duyệt web. Việc không đồng ý có thể ảnh hưởng đến một số tính năng.
chức năng
Luôn luôn hoạt động
Cần thiết để trang web của chúng tôi hoạt động và giao tiếp chính xác.
Sở thích
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Số liệu thống kê
Chúng tôi sử dụng những thông tin này để phân tích số liệu thống kê của trang web của chúng tôi. Thông tin được thu thập là hoàn toàn ẩn danh. Việc lưu trữ hoặc truy cập kỹ thuật chỉ được sử dụng cho các mục đích thống kê ẩn danh. Nếu không có trát đòi hầu tòa, sự tuân thủ tự nguyện từ nhà cung cấp dịch vụ Internet của bạn hoặc các hồ sơ bổ sung từ bên thứ ba, thông tin được lưu trữ hoặc truy xuất cho mục đích này thường không thể được sử dụng để nhận dạng bạn.
Tiếp thị
Những cookie này theo dõi quá trình duyệt web của bạn để cung cấp quảng cáo phù hợp với bạn.