WPML

Übersicht über das Problem

Wenn YITH WooCommerce Cart Messages mit WPML verwendet wird, wird eine übersetzte Nachricht nie angezeigt, da ihre Einstellungen (Typ, Seiten, Benutzer, Button-Link) nicht in die Übersetzung kopiert werden. Eine abgelaufene Nachricht wird auch weiterhin in der Sekundärsprache angezeigt.

Problemumgehung

  1. Gehen Sie zu WPMLEinstellungenBenutzerdefinierte XML-Konfiguration, fügen Sie das folgende XML hinzu und speichern Sie:
    XML
    <wpml-config>
      <custom-fields>
        <custom-field action="copy">_ywcm_message_type</custom-field>
        <custom-field action="copy">_ywcm_message_pages</custom-field>
        <custom-field action="copy">_ywcm_message_user</custom-field>
        <custom-field action="copy">_ywcm_message_role_user</custom-field>
        <custom-field action="copy">_ywcm_message_layout</custom-field>
        <custom-field action="copy">_ywcm_message_cart_page_position</custom-field>
        <custom-field action="copy">_ywcm_message_country</custom-field>
        <custom-field action="copy">_ywcm_message_start</custom-field>
        <custom-field action="copy">_ywcm_message_expire</custom-field>
        <custom-field action="copy">_ywcm_message_products_cart_minimum</custom-field>
        <custom-field action="copy">_ywcm_message_minimum_amount</custom-field>
        <custom-field action="copy">_ywcm_message_button_url</custom-field>
      </custom-fields>
    </wpml-config>
  2. Übersetzen Sie die Nachrichten erneut.

Alle bekannten Probleme

Benötigen Sie Hilfe bei diesem Problem?

Stellen Sie eine Support-Anfrage und wir sehen uns das gemeinsam mit Ihnen an.