문제 개요
WPML을 Spectra Legacy와 함께 사용할 때 팝업을 번역할 수 없습니다. 모든 언어에서 팝업이 기본 언어로 표시됩니다. 팝업 글 유형을 번역 가능으로 설정하면 팝업 설정을 가져오지 못하기 때문에 번역된 팝업이 표시되지 않습니다.
임시 해결 방법
- WPML설정사용자 정의 XML 구성으로 이동하여 이 코드를 추가하고 저장하세요:
<wpml-config> <custom-types> <custom-type translate="1">spectra-popup</custom-type> </custom-types> <custom-fields> <custom-field action="copy">spectra-popup-type</custom-field> <custom-field action="copy">spectra-popup-enabled</custom-field> <custom-field action="copy">spectra-popup-repetition</custom-field> </custom-fields> </wpml-config> - 팝업을 번역하세요.