• Hello,
    I’m trying to translate your plugin to my language and some strings are not detected. I’ve checked the source codes and it turns out that the text-domian is missing in some case. Please check templates/checkout/received/order-details.php lines 32-33 (with Adults and Children)

    there is:

    <span class="adult"><?php printf( __( 'Adult: %d' ), $room->adult ) ?></span>
    <span class="children"><?php printf( __( 'Children: %d' ), $room->child ) ?></span>
    

    there should be:

    <span class="adult"><?php printf( __( 'Adult: %d', 'opal-hotel-room-booking' ), $room->adult ) ?></span>
    <span class="children"><?php printf( __( 'Children: %d', 'opal-hotel-room-booking' ), $room->child ) ?></span>
    

    Could you please fix it? Also the pot file would require updating. Thank you.

  • The topic ‘Text-domain missing in order-details.php, unable to translate’ is closed to new replies.