WPML

Overview of the Issue

When using SOOZ – AI for SEO with WPML, you might experience the following issue: when you translate a post, a page or a category, its SOOZ SEO fields (SEO title, meta description, social titles and descriptions) are not sent to translation. The translation has no SOOZ SEO data.

Workaround

Go to WPMLSettings and add the following to the Custom XML Configuration:

XML
<wpml-config>
  <custom-fields>
    <custom-field action="translate" encoding="json">ai4seo_active_metadata</custom-field>
  </custom-fields>
  <custom-fields-texts>
    <key name="ai4seo_active_metadata">
      <key name="focus-keyphrase"/>
      <key name="meta-title"/>
      <key name="meta-description"/>
      <key name="keywords"/>
      <key name="facebook-title"/>
      <key name="facebook-description"/>
      <key name="twitter-title"/>
      <key name="twitter-description"/>
    </key>
  </custom-fields-texts>
</wpml-config>

Then translate the posts again, or update their translations. Each SOOZ SEO field then goes to translation as its own text.

Or open the translated post and enter its SEO fields in the SOOZ editor.

All known issues

Need Help with This Issue?

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