Same here: Would like to know how to translate this string.
-
This reply was modified 4 months, 1 week ago by
cutu234.
Hi @joshwillett @cutu234,
Thanks for reaching out to us. Kindly use this code snippet in your active theme’s functions.php to alter the payment method text.
PS: You can alter the code snippet according to your requirement.
Not quite sure that this is what I meant. This snippet actually alters the name of the method, but not the label. Example:
Payment method: Paypal
This snippet changes “Paypal”, but I want to translate “Payment method”.
Thank you.
Hi @cutu234,
Thanks for getting back to us. Presently our plugin doesn’t offer any filters to alter the mentioned label. However, the string is fully translatable. Thanks for understanding.
No, it is not. “Customer Note”, for example is found as:
'cus_note' => 'Customer Note',
in
/includes/class-wf-woocommerce-packing-list.php
This is NOT translatable, and it can’t be found in the language files.
Maybe, I am missing somethig. Could you please provide information on how to translate it? The same is very likely true for “Payment method”. I can see the string in the data.translation_strings.php file, but how would I translate it?