문제 개요
WPML과 함께 YITH WooCommerce Cart Messages를 사용할 때, 설정(유형, 페이지, 사용자, 버튼 링크)이 번역에 복사되지 않아 번역된 메시지가 표시되지 않습니다. 만료된 메시지도 보조 언어에서 여전히 표시됩니다.
임시 해결 방법
- WPML설정사용자 정의 XML 구성으로 이동하여 다음 XML을 추가하고 저장하세요:
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>
- 메시지를 다시 번역하세요.