Übersicht über das Problem
Bei der Verwendung des YITH WooCommerce Points and Rewards Premium-Plugins mit WPML werden übersetzte Banner auf der Seite Meine Punkte nicht angezeigt und das Level des Kunden ist auf übersetzten Seiten verborgen. Die Übersetzungen übernehmen die Banner- und Level-Einstellungen nicht.
Problemumgehung
- Gehen Sie zu WPMLEinstellungen und öffnen Sie den Reiter Benutzerdefinierte XML-Konfiguration.
- Fügen Sie diesen Code hinzu und speichern Sie:
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>
- Aktualisieren Sie die Übersetzungen Ihrer Banner und Level.