WPML

Overview of the Issue

When you use WPML with Spectra Legacy, you cannot translate popups. Every language shows the popup in the default language. If you make the popup post type translatable, the translated popup does not show, because it does not get the popup settings.

Workaround

  • Go to WPMLSettingsCustom XML Configuration, add this code and save:
    <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>
  • Translate your popups.

All known issues

Need Help with This Issue?

Ask a support question and we’ll look into it with you.