نظرة عامة على المشكلة
عند استخدام 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".