• Closed
  • Meshal
    Spectator
    May 2, 2015 at 3:47 pm #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
    May 3, 2015 at 6:10 pm #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
    May 4, 2015 at 11:35 pm #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
    May 6, 2015 at 10:18 am #17274

    thanks 😉

    Meshal
    Spectator
    Posts: 30
    May 6, 2015 at 10:24 pm #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
    May 7, 2015 at 9:39 am #17336

    thanks