문제 개요
WPML과 함께 Themify Music을 사용할 때 앨범, 이벤트, 갤러리, 비디오 및 프레스 글 유형은 기본적으로 번역 불가능하며, 번역된 앨범이나 이벤트에는 아티스트, 장르, 날짜, 위치 또는 티켓 링크가 표시되지 않습니다.
임시 해결 방법
- WPML설정사용자 정의 XML 구성으로 이동하여 다음 XML을 추가하고 저장하세요:
XML
<wpml-config> <custom-types> <custom-type translate="1">album</custom-type> <custom-type translate="1">event</custom-type> <custom-type translate="1">gallery</custom-type> <custom-type translate="1">video</custom-type> <custom-type translate="1">press</custom-type> </custom-types> <taxonomies> <taxonomy translate="1">album-category</taxonomy> <taxonomy translate="1">album-tag</taxonomy> <taxonomy translate="1">event-category</taxonomy> <taxonomy translate="1">event-tag</taxonomy> <taxonomy translate="1">gallery-category</taxonomy> <taxonomy translate="1">gallery-tag</taxonomy> <taxonomy translate="1">video-category</taxonomy> <taxonomy translate="1">video-tag</taxonomy> <taxonomy translate="1">press-category</taxonomy> <taxonomy translate="1">press-tag</taxonomy> </taxonomies> <custom-fields> <custom-field action="translate">artist</custom-field> <custom-field action="translate">released</custom-field> <custom-field action="translate">genre</custom-field> <custom-field action="copy">buy_album</custom-field> <custom-field action="copy">album_tracks</custom-field> <custom-field action="copy">tracks_type</custom-field> <custom-field action="copy">album_embeds</custom-field> <custom-field action="copy">start_date</custom-field> <custom-field action="copy">end_date</custom-field> <custom-field action="copy">repeat</custom-field> <custom-field action="copy">repeat_x</custom-field> <custom-field action="copy">event_end_date_hide</custom-field> <custom-field action="translate">location</custom-field> <custom-field action="translate">map_address</custom-field> <custom-field action="copy">buy_tickets</custom-field> </custom-fields> </wpml-config>
- 앨범과 이벤트를 다시 번역하세요.