WPML

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

เมื่อใช้ FooEvents for WooCommerce ร่วมกับ WPML เหตุการณ์ที่แปลแล้วจะสูญเสียข้อมูลเส้นทาง ข้อความรายละเอียดเหตุการณ์ ชื่อแท็บ ข้อความตั๋ว ข้อความขอบคุณ และหัวเรื่องอีเมลตั๋ว และจะแสดงสถานที่จัดงานในภาษาเริ่มต้น

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

  1. ไปที่ WPMLการตั้งค่าการกำหนดค่า XML ที่กำหนดเอง เพิ่ม XML ต่อไปนี้และบันทึก:
    XML
    <wpml-config>
      <custom-fields>
        <custom-field action="translate">WooCommerceEventsLocation</custom-field>
        <custom-field action="translate">WooCommerceEventsDirections</custom-field>
        <custom-field action="translate">WooCommerceEventsEventDetailsText</custom-field>
        <custom-field action="translate">WooCommerceEventsEventDetailsOverride</custom-field>
        <custom-field action="translate">WooCommerceEventsTicketText</custom-field>
        <custom-field action="translate">WooCommerceEventsThankYouText</custom-field>
        <custom-field action="translate">WooCommerceEventsEmailSubjectSingle</custom-field>
      </custom-fields>
    </wpml-config>
  2. แปลผลิตภัณฑ์เหตุการณ์อีกครั้ง

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

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

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