• Resolved nartoof

    (@nartoof)


    Hi,

    I just tried your plugin for the first time today and I want to say great job, I really like it. Easy to setup and customize.

    I got a problem with a missing translation (I’m using loco translate).

    The order notification Email sent to the client (processing and completed) got a string I can’t translate.

    This tring comes from the ‘pw-gift-cards-redeeming.php’ file on line 317 :

    'label' => _n( sprintf( 'Gift card %s:', $gift_card_numbers ) , sprintf( 'Gift cards %s:', $gift_card_numbers ), count( $gift_cards_redeemed ), 'pw-woocommerce-gift-cards' ),

    This string isn’t available in loco translate…

    Could you fix it on a next update ?

    Thank you very much.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author pimwick

    (@pimwick)

    The code supplied is actually wrapped in the WordPress internationalization functions, so I’m not sure why Loco Translate isn’t making them available. You may need to tell Loco Translate to refresh which strings can be translated.

    Follow these steps and let me know if it helps:

    1. Click on the Loco Translate -> Plugins menu on the left.
    2. Click on the PW WooCommerce Gift Cards
    3. Click on the New Language button
    4. Set the language options
    5. Click on Start Translating

    Thread Starter nartoof

    (@nartoof)

    Thank you for your quick answer. I’ve seen it is a plural translation, but after following your steps, the string is still out…

    But I don’t think I can find it this way, the string isn’t in your pw-woocommerce-gift-cards.pot file…

    Plugin Author pimwick

    (@pimwick)

    Ah, you’re absolutely right. We’ll get this fixed in the next release, should be available in the next day or two. Thanks for bringing this to our attention!

    Thread Starter nartoof

    (@nartoof)

    Awesome ! Thank you very much ??

    Plugin Author pimwick

    (@pimwick)

    You’re welcome, I’m marking this thread as Resolved. Best of luck with your store!

    Thread Starter nartoof

    (@nartoof)

    Thank you very much !

    I checked the issue and everything is all right now, thank you !!

    • This reply was modified 4 years, 1 month ago by nartoof.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Translation missing’ is closed to new replies.