Übersicht über das Problem
Wenn Sie WPML mit Spectra Legacy verwenden, können Sie Pop-ups nicht übersetzen. Jede Sprache zeigt das Pop-up in der Standardsprache an. Wenn Sie den Beitragstyp für Pop-ups übersetzbar machen, wird das übersetzte Pop-up nicht angezeigt, da es die Pop-up-Einstellungen nicht erhält.
Problemumgehung
- Gehen Sie zu WPMLEinstellungenBenutzerdefinierte XML-Konfiguration, fügen Sie diesen Code hinzu und speichern Sie:
<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> - Übersetzen Sie Ihre Popups.