- 상태
- 개발자 대기 중
- 관련 플러그인/테마
- Spectra
- 주제 태그
- Compatibility
문제 개요
WPML과 함께 Spectra를 사용할 때 다음과 같은 문제가 발생할 수 있습니다. 일부 Spectra 블록이 고급 번역 에디터(ATE)에 표시되지 않거나 번역 후에도 프런트엔드에서 콘텐츠가 번역되지 않은 상태로 남습니다.
임시 해결 방법
- WordPress 대시보드에서 WPML > 설정 > 사용자 정의 XML 구성으로 이동하세요.
- 다음 XML 구성을 추가하고 저장하세요:
<wpml-config> <gutenberg-blocks> <gutenberg-block type="uagb/info-box" translate="1"> <xpath>//*[contains(@class, "uagb-ifb-title")]</xpath> <xpath>//p[contains(@class, "uagb-ifb-desc")]</xpath> <xpath>//span[contains(@class, "uagb-inline-editing")]</xpath> <key name="tempHeadingDesc" /> <key name="ctaText" /> </gutenberg-block> <gutenberg-block type="uagb/image-gallery" translate="1"> <key name="mediaGallery"> <key name="*"> <key name="id"/> <key name="url" type="link" /> <key name="alt" /> <key name="link" type="link" /> <key name="caption" /> </key> </key> <key name="mediaIDs"> <key name="*" /> </key> </gutenberg-block> <gutenberg-block type="uagb/tabs" translate="1"> <key name="tabHeaders" /> <xpath>//*[contains(@class, "uagb-tab")]/a/div</xpath> </gutenberg-block> <gutenberg-block type="uagb/tabs-child" translate="1"> <key name="header" /> <key name="tabHeaders"> <key name="*" /> </key> </gutenberg-block> <gutenberg-block type="uagb/modal" translate="1"> <xpath>//span[contains(@class, "uagb-inline-editing")]</xpath> <xpath type="link">//a[contains(@class, "uagb-modal-button-link")]/@href</xpath> <key name="buttonText"/> </gutenberg-block> </gutenberg-blocks> </wpml-config>