ภาพรวมของปัญหา
เมื่อใช้ 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>
- แปลหน้านั้นอีกครั้ง