WPML

Overview of the Issue

When using YITH WooCommerce Mailchimp with WPML, the texts set on the subscription form block or shortcode (title, button, messages), the widget’s success message and privacy label, and the registration form’s newsletter checkbox label stay in the default language.

Workaround

  1. Go to WPMLSettingsCustom XML Configuration, add the following XML and save:
    XML
    <wpml-config>
      <shortcodes>
        <shortcode>
          <tag>yith_wcmc_subscription_form</tag>
          <attributes>
            <attribute>title</attribute>
            <attribute>submit_label</attribute>
            <attribute>success_message</attribute>
            <attribute>privacy_label</attribute>
          </attributes>
        </shortcode>
      </shortcodes>
      <admin-texts>
        <key name="yith_wcmc_widget_success_message" />
        <key name="yith_wcmc_widget_privacy_label" />
        <key name="yith_wcmc_register_subscription_checkbox_label" />
      </admin-texts>
    </wpml-config>
  2. Translate the pages with the form, so the form texts go to translation.
  3. Translate the widget and registration texts in WPMLString Translation.

All known issues

Need Help with This Issue?

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