WPML

Overview of the Issue

When using YITH WooCommerce Multi Step Checkout with WPML, the plugin’s own texts, such as “Your order” and “Payment”, stay in the default language on the translated checkout, and the “Back to cart” button label cannot be translated.

Workaround

  1. For the plugin’s own texts, add this code to a must-use plugin:
    PHP
    add_action( 'init', function () {
    	$d = 'yith-woocommerce-multi-step-checkout';
    	unload_textdomain( $d );
    	load_textdomain( $d, WP_PLUGIN_DIR . '/yith-woocommerce-multi-step-checkout-premium/languages/' . $d . '-' . determine_locale() . '.mo', determine_locale() );
    }, 0 );
  2. For the “Back to cart” label, go to WPMLSettingsCustom XML Configuration, add the following XML and save:
    XML
    <wpml-config>
      <admin-texts>
        <key name="yith_wcms_timeline_options_back_to_cart"/>
      </admin-texts>
    </wpml-config>
  3. Translate the label in WPMLString Translation.

All known issues

Need Help with This Issue?

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