סקירת התקלה
בעת השימוש ב־Salient עם WPML, טקסטים מסוימים של הרכיבים Chat Thread, Scrolling Text ו־Single Testimonial אינם נשלחים לתרגום, ולכן העמוד המתורגם מציג אותם בשפת ברירת המחדל.
פתרון עוקף
- עבור אל WPMLהגדרותהגדרות XML מותאמות אישית, הוסף את ה־XML הבא ושמור:
XML
<wpml-config> <shortcodes> <shortcode> <tag>nectar_single_testimonial</tag> <attributes> <attribute>quote</attribute> <attribute>name</attribute> <attribute>subtitle</attribute> </attributes> </shortcode> <shortcode> <tag>nectar_scrolling_text</tag> <attributes> <attribute>text_repeat_divider_custom</attribute> </attributes> </shortcode> <shortcode> <tag>nectar_chat_thread</tag> <attributes> <attribute>outgoing_bubble_name</attribute> <attribute>incoming_bubble_name</attribute> </attributes> </shortcode> <shortcode> <tag>nectar_chat_thread_bubble</tag> </shortcode> </shortcodes> </wpml-config>
- תרגם שוב את העמוד.