Dieses Thema ist gelöst. Hier finden Sie eine Beschreibung des Problems und der Lösung.
Problem:
The client is experiencing an issue where HTML tags are being displayed in the translations on their Divi-based website.
Solution:
We recommend enabling WPML to properly register the HTML entities that are not being processed correctly. To do this, navigate to WPML > Settings > Custom XML Configuration tab and insert the following code:
<wpml-config><br /> <shortcodes><br /> <shortcode><br /> <tag>et_pb_slide</tag><br /> <attributes><br /> <attribute encoding="allow_html_tags">heading</attribute><br /> <attribute encoding="allow_html_tags">heading_tablet</attribute><br /> <attribute encoding="allow_html_tags">heading_phone</attribute><br /> <attribute>image_alt</attribute><br /> <attribute>button_text</attribute><br /> <attribute>button_text_tablet</attribute><br /> <attribute>button_text_phone</attribute><br /> <attribute type="link">button_link</attribute><br /> <attribute type="link">link_option_url</attribute><br /> <attribute type="media-url">image</attribute><br /> <attribute type="media-url">image_tablet</attribute><br /> <attribute type="media-url">image_phone</attribute><br /> <attribute type="media-url">background_image</attribute><br /> <attribute type="media-url">background_image_tablet</attribute><br /> <attribute type="media-url">background_image_phone</attribute><br /> <attribute encoding="allow_html_tags">content_tablet</attribute><br /> <attribute encoding="allow_html_tags">content_phone</attribute><br /> </attributes><br /> </shortcode><br /> </shortcodes><br /></wpml-config>
After adding the code, make a minor change to the original content and update the translation that is displaying the HTML entities. This should resolve the problem. If this solution does not seem relevant or if you need further assistance, please open a new support ticket.
Dies ist das technische Support-Forum für WPML – das mehrsprachige WordPress-Plugin.
Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team antwortet im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.
Dieses Thema enthält 3 Antworten, hat 2 Stimmen.
Zuletzt aktualisiert von Vor 1 Jahr, 1 Monat.
Assistiert von: Lucas Vidal de Andrade.