WPML

問題の概要

WPMLでYITH WooCommerce Wishlistを使用すると、プラグインのElementorウィジェット(YITH Wishlist Add button)に入力したボタンラベルが、翻訳されたページでデフォルト言語のままになる問題が発生する場合があります。

回避策

Elementorウィジェットのラベルを空のままにします。これにより、ウィジェットはプラグインのYITHWishlistCustomizationLabels設定のテキストを使用するようになり、これらのテキストはWPML文字列翻訳で翻訳できます。
または、WPML設定カスタム XML 設定に移動し、以下のコードを追加して保存します。

XML
<wpml-config><elementor-widgets><widget name="yith_wcwl_add_to_wishlist"><fields><field type="YITH Wishlist: button label" editor_type="LINE">label</field><field type="YITH Wishlist: browse wishlist label" editor_type="LINE">browse_wishlist_text</field><field type="YITH Wishlist: already in wishlist label" editor_type="LINE">already_in_wishslist_text</field><field type="YITH Wishlist: product added label" editor_type="LINE">product_added_text</field></fields></widget></elementor-widgets></wpml-config>
その後、ページを再度翻訳します。

すべての既知の問題

この問題についてサポートが必要な場合

サポートのご質問をお寄せください。一緒に調査いたします。