Title: giowebmaster's Replies | WordPress.org

---

# giowebmaster

  [  ](https://wordpress.org/support/users/giowebmaster/)

 *   [Profile](https://wordpress.org/support/users/giowebmaster/)
 *   [Topics Started](https://wordpress.org/support/users/giowebmaster/topics/)
 *   [Replies Created](https://wordpress.org/support/users/giowebmaster/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/giowebmaster/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/giowebmaster/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/giowebmaster/engagements/)
 *   [Favorites](https://wordpress.org/support/users/giowebmaster/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YITH WooCommerce Multi-step Checkout] Can’t translate “back to cart” string](https://wordpress.org/support/topic/cant-translate-back-to-cart-string/)
 *  [giowebmaster](https://wordpress.org/support/users/giowebmaster/)
 * (@giowebmaster)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cant-translate-back-to-cart-string/#post-9455538)
 * Sorry I take sample code of .PO file, the real code in .POT file is as follow:
 *     ```
       #: templates/woocommerce/checkout/form-checkout.php:37
       msgctxt "Checkout: user timeline"
       msgid "Payment"
       msgstr ""
   
       #: templates/woocommerce/checkout/form-checkout.php:38
       msgctxt "Checkout: user timeline"
       msgid "Back to cart"
       msgstr ""
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YITH WooCommerce Multi-step Checkout] Can’t translate “back to cart” string](https://wordpress.org/support/topic/cant-translate-back-to-cart-string/)
 *  [giowebmaster](https://wordpress.org/support/users/giowebmaster/)
 * (@giowebmaster)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cant-translate-back-to-cart-string/#post-9455532)
 * Thanks for the answer, but I tried, but the $ labels payment and back_to_cart
   do not exist in the .POT, I added them in .POT using IDE Brackets, create the.
   PO and .MO, but it did not work.
 * Code add to .POT file
 *     ```
       #: templates/woocommerce/checkout/form-checkout.php:37
       msgctxt "Checkout: user timeline"
       msgid "Payment"
       msgstr "Pago"
   
       #: templates/woocommerce/checkout/form-checkout.php:38
       msgctxt "Checkout: user timeline"
       msgid "Back to cart"
       msgstr "Volver al Carrito"
       ```
   
 * neither using the plugin ” Loco Translate “, I finally had to change the texts
   directly in the code. While the plugin is updated, someone gives the correct 
   instructions or I have enough time to continue with the analysis of this issue
 * I Change in line 39 ‘Back to Cart’ by ‘Volver al Carrito’.
 * `'back_to_cart' => _x( 'Volver al Carrito', 'Frontend: button label', 'yith-woocommerce-
   multi-step-checkout' )`
 * And change line 125 ‘payment’ by ‘Informaci贸n de Pago’
 * `<h3 id="payment_heading"><?php _e( 'Informaci贸n de Pago', 'yith-woocommerce-
   multi-step-checkout' ); ?></h3>`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YITH WooCommerce Multi-step Checkout] Can’t translate “back to cart” string](https://wordpress.org/support/topic/cant-translate-back-to-cart-string/)
 *  [giowebmaster](https://wordpress.org/support/users/giowebmaster/)
 * (@giowebmaster)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cant-translate-back-to-cart-string/#post-9449168)
 * Archive “form-checkout.php”
 * Line 30 (Translate issue with 2 last array items)
 *     ```
       $labels = apply_filters( 'yith_wcms_timeline_labels', array(
               'next'          => __( 'Next', 'yith-woocommerce-multi-step-checkout' ),
               'skip_login'    => __( 'Next', 'yith-woocommerce-multi-step-checkout' ),
               'prev'          => __( 'Previous', 'yith-woocommerce-multi-step-checkout' ),
               'login'         => _x( 'Login', 'Checkout: user timeline', 'yith-woocommerce-multi-step-checkout' ),
               'billing'       => _x( 'Billing', 'Checkout: user timeline', 'yith-woocommerce-multi-step-checkout' ),
               'shipping'      => _x( 'Shipping', 'Checkout: user timeline', 'yith-woocommerce-multi-step-checkout' ),
               'order'         => _x( 'Order Info', 'Checkout: user timeline', 'yith-woocommerce-multi-step-checkout' ),
               'payment'       => _x( 'Payment Info', 'Checkout: user timeline', 'yith-woocommerce-multi-step-checkout' ), 
               'back_to_cart'  => _x( 'Back to cart', 'Frontend: button label', 'yith-woocommerce-multi-step-checkout' )
           )
       );
       ```
   
 * Line 125
 * `<h3 id="payment_heading"><?php _e( 'Payment', 'yith-woocommerce-multi-step-checkout');?
   ></h3>`
 * Line 138
 * `<a href="<?php echo wc_get_cart_url(); ?>" id="yith-wcms-back-to-cart-button"
   class="<?php echo $button_class ?>"><?php echo $labels['back_to_cart'] ?></a>`
 * I will try to add these 2 labels on .po and .mo files
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YITH WooCommerce Multi-step Checkout] Can’t translate “back to cart” string](https://wordpress.org/support/topic/cant-translate-back-to-cart-string/)
 *  [giowebmaster](https://wordpress.org/support/users/giowebmaster/)
 * (@giowebmaster)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/cant-translate-back-to-cart-string/#post-9448921)
 * Hi there,
 * let me know any news about this issue, please.
    -  This reply was modified 8 years, 8 months ago by [giowebmaster](https://wordpress.org/support/users/giowebmaster/).

Viewing 4 replies - 1 through 4 (of 4 total)