WPML Integration
-
Hey
Thanks for creating an awesome plugin it integrates super well!
One suggestion/question I have is the way that you have integrated translation. I don’t think it’s as smooth as it could be. Mainly, when I checkoff that i want WPML integration it disabled all the custom fields… why?We already discussed this here https://ww.wp.xz.cn/support/topic/wpml-integration-14/, but for some reason you closed the issue. Each time I update I have to manually modify the code to make this function properly. I see you are still updating the plugin so do you think that you could just modify teh code. It works great on a French => English and other language interface with WPML.
Please please please integrate this feature. It’s not going to cause any harm and works really well!
forms-buttons.php
<?php if ( $show_login_step ) : ?> <button id="wpmc-next" class="button button-active alt" type="button"><?php echo __($t_next, 'wp-multi-step-checkout'); ?></button>and the same for the second button
form-tabs.php
$steps = apply_filters( 'wp-multi-step-checkout-timeline', array( 'login' => array( 'order' => 0, 'label' => __($t_login, 'wp-multi-step-checkout'), ), 'billing' => array( 'order' => 1, 'label' => __($t_billing, 'wp-multi-step-checkout'), ), 'shipping' => array( 'order' => 2, 'label' => __($t_shipping, 'wp-multi-step-checkout'), ), 'order' => array( 'order' => 3, 'label' => __($t_order, 'wp-multi-step-checkout'), ), 'payment' => array( 'order' => 4, 'label' => __($t_payment, 'wp-multi-step-checkout'), ), )); if ( !$show_shipping_step) unset($steps['shipping']); if ( !$show_login_step) unset($steps['login']); if ( $unite_billing_shipping ) { $steps['billing']['label'] = __($t_billing . ' & ' . $t_shipping, 'wp-multi-step-checkout'); unset($steps['shipping']); } if ( $unite_order_payment) { $steps['order']['label'] = __($t_order . ' & ' . $t_payment, 'wp-multi-step-checkout'); unset($steps['payment']); } ?>I also commented out the section you created with regards to the translation retrieval in form-checkout.php. Using it this way means that whatever the user provides is then properly translated through the system AND furthermore is done properly based on your code to combine the sections together.
The topic ‘WPML Integration’ is closed to new replies.