Übersicht über das Problem
Wenn Sie Ultimate Addons for WPBakery mit WPML verwenden, können folgende Probleme auftreten: Auf übersetzten Seiten öffnen die Links der Buttons und Boxen des Add-ons die Seite in der Standardsprache, und einige Texte (der Video-Banner-Text und der Timeline-Read-More-Text) bleiben in der Standardsprache.
Problemumgehung
Gehen Sie zu WPMLEinstellungen und fügen Sie Folgendes zur Benutzerdefinierten XML-Konfiguration hinzu:
XML
<wpml-config>
<shortcodes>
<shortcode>
<tag>bsf-info-box</tag>
<attributes>
<attribute>title</attribute>
<attribute>read_text</attribute>
<attribute type="link" encoding="vc_link">link</attribute>
</attributes>
</shortcode>
<shortcode>
<tag>ultimate_video_banner</tag>
<attributes>
<attribute>video_banner_title</attribute>
<attribute>video_banner_content</attribute>
</attributes>
</shortcode>
<shortcode>
<tag>icon_timeline_item</tag>
<attributes>
<attribute>time_title</attribute>
<attribute>time_read_text</attribute>
<attribute type="link" encoding="vc_link">time_link</attribute>
</attributes>
</shortcode>
<shortcode>
<tag>ult_content_box</tag>
<attributes>
<attribute type="link" encoding="vc_link">link</attribute>
</attributes>
</shortcode>
</shortcodes>
</wpml-config>Übersetzen Sie die Seiten dann erneut. Verwenden Sie für andere Link-Attribute des Add-ons dieselbe type="link" encoding="vc_link"-Form.