Add translation for custom field
-
Hi,
I added the due date to the invoice via an action hook as described here:
https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/pdf-template-action-hooks/#example-4-print-a-due-date-on-the-invoiceI put the code in the template-functions.php of my custom invoice template in the woocommerce/pdf/subfolder of my Child Theme. It works like charm and is printed on the invoice.
Now I’d like to have a translation for that string aswell.
I already added the _e() wrapper around the string and left the plugin name there like in the custom invoice template aswell.
I’m a bit confuesed here: Where can I add the translation for the string at this point? (already downloaded and installed Poedit)Thanks in advance!
- The topic ‘Add translation for custom field’ is closed to new replies.