using Cart block and Checkout Block, I can’t translate to french “Add a coupon”.
I didn’t find this string in translations files (.json).
I found in this file : assets/js/base/components/cart-checkout/totals/coupon/index.tsx some strings like this :
__( 'Add a coupon', 'woo-gutenberg-products-block' )
So I added a function on hook gettext to force translation to “Ajouter un code promo”. But it doesn’t work.
How can I translate this string ? all other strings in this block seems to be translated.
- The topic ‘Translate : Add a coupon’ is closed to new replies.