WPML

ภาพรวมของปัญหา

เมื่อใช้ Flatsome กับ WPML ข้อความบางส่วนไม่สามารถแปลได้: เวลาทำการติดต่อในส่วนหัวและคำต่อท้ายข้อความที่ตัดตอนมาของบล็อกในตัวเลือกธีม ชื่อและบริษัทของอิลิเมนต์ Testimonial ข้อความของปุ่มในส่วนหัว และชื่อของอิลิเมนต์ Products

วิธีแก้ปัญหาชั่วคราว

  1. ไปที่ WPMLการตั้งค่าการกำหนดค่า XML ที่กำหนดเอง เพิ่ม XML ต่อไปนี้แล้วบันทึก:
    XML
    <wpml-config>
      <shortcodes>
        <shortcode>
          <tag>testimonial</tag>
          <attributes>
            <attribute>name</attribute>
            <attribute>company</attribute>
            <attribute type="link">link</attribute>
          </attributes>
        </shortcode>
        <shortcode>
          <tag>header_button</tag>
          <attributes>
            <attribute>text</attribute>
            <attribute type="link">link</attribute>
          </attributes>
        </shortcode>
        <shortcode>
          <tag>ux_products</tag>
          <attributes>
            <attribute>title</attribute>
          </attributes>
        </shortcode>
      </shortcodes>
      <admin-texts>
        <key name="theme_mods_flatsome">
          <key name="contact_hours" />
          <key name="blog_excerpt_suffix" />
        </key>
      </admin-texts>
    </wpml-config>
  2. แปลข้อความตัวเลือกธีมใน WPMLการแปลสตริง
  3. แปลหน้าที่ใช้องค์ประกอบ UX Builder เหล่านี้อีกครั้ง

ปัญหาที่ทราบแล้วทั้งหมด

ต้องการความช่วยเหลือเกี่ยวกับปัญหานี้หรือไม่

ถามคำถามถึงฝ่ายสนับสนุน และเราจะตรวจสอบเรื่องนี้ไปพร้อมกับคุณ