Problem: The client was unable to translate links in various sections of their multilingual website using Elementor and WPML. These included product images, service box icons, and other elements that did not show up in the translation editor. Solution: We recommended disabling the cache temporarily to ensure changes could be reflected immediately. We provided custom XML configurations to enable the translation of specific Elementor widgets. For example, we added:
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, please open a new support ticket. 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, visit our support forum at https://wpml.org/forums/.
Problem: Der Kunde hat Probleme mit der Übersetzung von WooCommerce-Strings in anderen Sprachen, obwohl die Übersetzung in Englisch funktioniert. Er verwendet
1
add_filter('gettext', ...)
um 'View cart' zu 'View request' zu ändern, sieht die Änderungen in der String Translation, aber in anderen Sprachen wie Deutsch bleibt der Originaltext 'Warenkorb anzeigen' erhalten. Solution: Wir haben festgestellt, dass das Problem möglicherweise nicht mit WPML zusammenhängt, sondern eine Einschränkung von WordPress oder WooCommerce sein könnte, die eigene Übersetzungen bevorzugt. Wenn Deutsch die Standardsprache der Website ist und das Problem auch auftritt, wenn WPML deaktiviert ist, liegt es wahrscheinlich an WordPress oder WooCommerce. In diesem Fall empfehlen wir, für jede Sprache einen separaten gettext() Filter zu verwenden.
Falls diese Lösung veraltet ist oder nicht auf Ihr Problem zutrifft, empfehlen wir Ihnen, ein neues Support-Ticket zu ö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 is using WPML's translation management to translate their site into French using UABB and Powerpack modules for Beaver Builder. The automatic translation does not work with the content of the UABB module, specifically the Powerpack restaurant module nested within it. Solution: The client discovered a workaround for the issue with the UABB module's content not translating automatically. Although the specific steps were not detailed in the communication, the client confirmed that they found a method to enable translation for the Powerpack restaurant module within the UABB module. We recommend checking the client's shared video for a visual guide on the solution: https://www.loom.com/share/8ab3aef2214a4e6c87ab4fd547851b41.
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 for further assistance.
Problem: You are trying to translate anchor points in links using WPML, but find that while the main part of the URL translates correctly, the anchor part does not. For example, translating https://www.mysite.org/link/#anchor to https://www.mysite.org/es/link-es/#anchor-translated does not work for the anchor segment. Solution: We recommend adding a custom XML configuration to your WPML settings to enable translation of the anchor parts of links. Here is the XML configuration you should add:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<wpml-config>
<elementor-widgets>
<widget name="text-editor">
<fields>
<field>editor</field>
</fields>
</widget>
<widget name="button">
<fields>
<field>text</field>
<field>link>url</field>
</fields>
</widget>
<widget name="menu-anchor">
<fields>
<field>anchor</field>
</fields>
</widget>
</elementor-widgets>
</wpml-config>
After adding this configuration, use the Advanced Translation Editor to search for "http" and translate the link as needed.
Please note that this solution might be outdated or not applicable to your specific case. If this solution does not resolve your issue, 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 is using ACF multilingual with WPML, and they encountered an issue where an image URL in a product category displays correctly in English, but when switching languages, the array containing the image URL becomes just a category ID in the translations. Solution: We recommended verifying the method used to call the field, suggesting the use of the approach detailed in the ACF documentation on image fields: https://www.advancedcustomfields.com/resources/image/#customized-display-array. Additionally, we provided a test site for the client to replicate the issue and further investigate the behavior of the image fields in a controlled environment. If the problem persists, we advised the client to adjust their code to check if the image field returns an ID and, if so, convert it to a URL using
1
wp_get_attachment_url
.
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 for further assistance.
Problem: You are using WPML and ACF on your website and encountering an issue where
1
get_fields()
in your PHP file returns FALSE when trying to retrieve fields set across different languages. Solution: 1. If the issue occurs in the default language, disable WPML temporarily to check if the problem persists without it. 2. If the problem is in a secondary language, ensure that the pages are translated. Use the
1
wpml_object_id
hook to obtain the correct post ID for the translated post, which should allow you to retrieve the fields correctly. For more details on using this hook, visit https://wpml.org/wpml-hook/wpml_object_id/.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific case, 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 us through our support forum.
Problem: The client is experiencing an issue with WPML Media Translation where the 'Save media translation' button remains inactive, and despite adding Name, Caption, and Alt text to a different file, the translated image does not appear, but the English image does. Solution: We recommend using the
function to ensure that the media ID is correctly translated, which should resolve the issue with the inactive button and the incorrect display of images. Here is a step-by-step guide: 1. Retrieve the original media ID and URL. 2. Use the
1
apply_filters
function to get the translated media ID. 3. If the original media ID does not match the translated media ID, update the media URL and ID to the translated ones. 4. Verify that the translated media appears correctly in place of the English image.
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 the problem persists, please open a new support ticket at WPML support forum for further assistance.
Problem: The client developed custom SiteOrigin widgets on a custom theme and configured the wpml-config.xml to translate widget content. However, the custom widget content is not translating, even though the page content is. Solution: We recommend updating your wpml-config.xml with the following XML code to make your widget compatible with WPML:
Please note that this is considered a custom code request and is outside of our support scope. We did our best to show how it is done for one widget but we will not be able to provide code for other widgets. You are welcome to use the resources provided in the reply to find the correct 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 WPML 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.
Utilizamos cookies para optimizar nuestro sitio web y nuestros servicios. Su consentimiento nos permite procesar datos como el comportamiento de navegación. No dar su consentimiento puede afectar a algunas funciones.
Funcional
Siempre activo
Necesario para que nuestro sitio web funcione y se comunique correctamente.
Preferencias
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Estadísticas
Las utilizamos para analizar las estadísticas de nuestro sitio. La información recopilada es totalmente anónima.El almacenamiento o acceso técnico que se utiliza exclusivamente con fines estadísticos anónimos. Sin una citación, el cumplimiento voluntario por parte de su proveedor de servicios de Internet, u otros registros de terceros, la información almacenada o recuperada solo para este propósito generalmente no puede usarse para identificarlo.
Marketing
Estas cookies rastrean su navegación para proporcionar anuncios relevantes para usted.