• Translation of the string “Order total” can not be shown on front end properly.
    I think it is due to the line in the following files.

    <?php /* translators: woocommerce */ _e( ‘Order total’, ‘woocommerce’ ); ?>

    /woocommerce-pos/includes/views/pos/cart/tmpl-totals.php
    /woocommerce-pos/includes/views/pos/receipt/tmpl-totals.php
    /woocommerce-pos/includes/views/print/tmpl-receipt.php

    Should the line be as follow?
    <?php _e( ‘Order total’, ‘woocommerce-pos’ ); ?>

    I use POEDIT to translate the plugin.
    I always need to manually edit the above line everytime the plugin is updated.
    Please kindly fix this issue.

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author kilbot

    (@kilbot)

    Thanks for letting me know.

    Because the POS is very similar to the core WooCommerce cart I originally tried to re-use a lot of their translation strings. But doing this means that something can change in WooCommerce core which effects the POS, in this case they changed ‘Order total’ to ‘Order Total’.

    In the next major update to WooCommerce POS I have changed this so the POS will control it’s own translations.

Viewing 1 replies (of 1 total)
  • The topic ‘Translation of “Order total”’ is closed to new replies.