• Closed
  • Meshal
    Spectator
    02.05.2015 at 15:47 #17161

    The file form-checkout.php is referring to wrong translation reference which is missing the colon “:”
    printf(
    __( 'Hello, %s', 'alora' ),
    $current_user->display_name
    );

    So I fixed it by editing form-checkout.php because there are more php files referring to this part of translation with a colon (Hello, %s:).
    But I’m stuck now with following three non translatable words :

    -Password (leave blank to leave unchanged)
    -Confirm new password
    -Your cart is currently empty.

    Any idea ?.

    Roman
    Spectator
    Posts: 3147
    03.05.2015 at 18:10 #17209

    thanks for the report….will fix it in the next update. for those strings,

    -Password (leave blank to leave unchanged) (this is woocommerce default)
    -Confirm new password (this is woocommerce default)
    -Your cart is currently empty. (this string is in more files, woo-config.php, header-main-menu.php, header-menu.php and sticky-header.php)

    Meshal
    Spectator
    Posts: 30
    04.05.2015 at 23:35 #17251

    woo-config.php should be fixed too

    <?php _e( 'Password (leave blank to leave unchanged)', 'woocommerce' ); ?>
    <?php _e( 'Confirm new password', 'woocommerce' ); ?>

    To :
    <?php _e( 'Current Password (leave blank to leave unchanged)', 'woocommerce' ); ?>
    <?php _e( 'Confirm New Password', 'woocommerce' ); ?>

    even though it is already there in alora po file.

    Who uses English wont face these problems cause they already hard coded.

    Just a friendly advice, It is better to not use html tags in po file.

    Roman
    Spectator
    Posts: 3147
    06.05.2015 at 10:18 #17274

    thanks 😉

    Meshal
    Spectator
    Posts: 30
    06.05.2015 at 22:24 #17322

    I found same case with thankyou.php :

    <?php _e( 'Order:', 'woocommerce' ); ?>
    <?php _e( 'Payment method:', 'woocommerce' ); ?>

    To

    <?php _e( 'Order Number:', 'woocommerce' ); ?>
    <?php _e( 'Payment Method:', 'woocommerce' ); ?>

    Roman
    Spectator
    Posts: 3147
    07.05.2015 at 09:39 #17336

    thanks