WPML

نظرة عامة على المشكلة

عند استخدام إضافة YITH WooCommerce Points and Rewards Premium مع WPML، لا تظهر اللافتات المترجمة في صفحة My points، ويكون مستوى العميل مخفياً في الصفحات المترجمة. لا تحصل الترجمات على إعدادات اللافتة والمستوى.

حل بديل مؤقت

  1. اذهب إلى WPMLإعدادات وافتح علامة التبويب تكوين XML مخصص.
  2. أضف هذا الكود واحفظ:
    XML
    <wpml-config>
      <custom-fields>
        <custom-field action="copy">_status</custom-field>
        <custom-field action="copy">_priority</custom-field>
        <custom-field action="copy">_type</custom-field>
        <custom-field action="copy">_simple_position</custom-field>
        <custom-field action="copy">_action_type</custom-field>
        <custom-field action="copy">_action_target_type</custom-field>
        <custom-field action="copy">_link_status</custom-field>
        <custom-field action="copy">_link_url</custom-field>
        <custom-field action="translate">_name</custom-field>
        <custom-field action="copy">_badge_enabled</custom-field>
        <custom-field action="copy">_level_color</custom-field>
      </custom-fields>
    </wpml-config>
  3. حدّث ترجمات اللافتات والمستويات.

جميع المشكلات المعروفة

هل تحتاج إلى مساعدة في هذه المشكلة؟

اطرح استفسار الدعم وسنبحث فيه معك.