WPML

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

عند استخدام Beds24 Online Booking مع WPML، قد تواجه المشكلات التالية: يبقى نص أزرار وروابط Beds24 باللغة الافتراضية في الصفحات المترجمة، وتُفتح صفحة الحجز باللغة الافتراضية.

حل بديل مؤقت

اذهب إلى WPMLإعدادات وأضف ما يلي إلى تكوين XML مخصص:

XML
<wpml-config>
  <custom-fields>
    <custom-field action="copy">propid</custom-field>
  </custom-fields>
  <shortcodes>
    <shortcode>
      <tag>beds24-button</tag>
      <attributes><attribute>text</attribute></attributes>
    </shortcode>
    <shortcode>
      <tag>beds24-link</tag>
      <attributes><attribute>text</attribute></attributes>
    </shortcode>
    <shortcode>
      <tag>bookwidget</tag>
      <attributes><attribute>buttontitle</attribute></attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

ثم ترجم الصفحات مرة أخرى. لفتح صفحة الحجز بلغة الزائر، عيّن الحقل المخصص lang (على سبيل المثال es) في كل صفحة مترجمة، ولا تُضمّن lang في الكود المختصر.

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

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

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