סקירת התקלה
בעת שימוש ב־Ultimate Addons for WPBakery עם WPML, ייתכן שתיתקל בבעיות הבאות: בדפים מתורגמים, קישורי הלחצנים והתיבות של התוסף הנלווה פותחים את הדף בשפת ברירת המחדל, וטקסטים מסוימים (הטקסט Video Banner והטקסט Timeline Read More) נשארים בשפת ברירת המחדל.
פתרון עוקף
עבור אל WPMLהגדרות והוסף את התוכן הבא אל הגדרות XML מותאמות אישית:
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>לאחר מכן תרגם שוב את העמודים. עבור תכונות קישור אחרות של התוסף הנלווה, השתמש באותו מבנה type="link" encoding="vc_link".