WPML

Overview of the Issue

When using YITH WooCommerce Customize My Account Page with WPML, the My Account banners cannot be translated. Their title, text and link stay in the default language. When you translate a banner title, the banner no longer shows on the translated page.

Workaround

  1. Go to WPMLSettingsCustom XML Configuration, add the following XML and save:
    XML
    <wpml-config>
      <admin-texts>
        <key name="yith_wcmap_banners">
          <key name="*">
            <key name="name" />
            <key name="text" />
            <key name="link_url" />
          </key>
        </key>
      </admin-texts>
    </wpml-config>
  2. Translate the banner title, text and URL in WPMLString Translation.
  3. Translate the content of the My Account section that shows the banner. In the translated shortcode, use the key of the translated banner title, for example [yith_wcmap_banner ids="bono"].

All known issues

Need Help with This Issue?

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