Missing cart translation
-
Hi,
We needed to change the default text for the cart labels (Product, Price, Subtotal) on the cart page so I edited the values in the cart.php file `
<th class=”product-name”><?php esc_html_e( ‘Product’, ‘woocommerce’ ); ?></th>
<th class=”product-price”><?php esc_html_e( ‘Price’, ‘woocommerce’ ); ?></th>
<th class=”product-quantity”><?php esc_html_e( ‘Quantity’, ‘woocommerce’ ); ?></th>
<th class=”product-subtotal”><?php esc_html_e( ‘Subtotal’, ‘woocommerce’ ); ?></th>`
and changed the Product, price, and subtotal values for our custom text (Your action, price per unit, total).
The cart labels show properly in English (main language) but not in the other languages (Spanish, French). I can’t find the strings to translate these custom labels in WPML. The default labels (Product, price, quantity, subtotal) are translated in WPML but they don’t show up on the cart page in the other languages, the cart labels are the same custom ones in English (Your action, price per unit…). How can I translate these cart labels? Is there another way to customize them?Thank you
The topic ‘Missing cart translation’ is closed to new replies.