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. תרגם שוב את מוצרי האירוע.

כל התקלות הידועות

זקוק לעזרה בבעיה זו?

פתח פנייה לתמיכה ואנחנו נבדוק זאת איתך.