Tổng quan về sự cố
Khi bạn sử dụng WPML với Spectra Legacy, bạn không thể dịch các popup. Mọi ngôn ngữ đều hiển thị popup bằng ngôn ngữ mặc định. Nếu bạn đặt loại bài viết popup thành có thể dịch, popup đã dịch sẽ không hiển thị, vì nó không nhận được các cài đặt của popup.
Giải pháp tạm thời
- Truy cập WPMLCài đặtCấu hình XML tùy chỉnh, thêm mã này và lưu:
<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> - Dịch các popup của bạn.