Background of the issue:
I am trying to use WooCommerce PDF Invoices & Packing Slips by welaunch with WPML on my site hidden link. I want to translate the invoice content.
Symptoms:
The invoice content cannot be translated even if I have translated all the strings.
Questions:
Is WooCommerce PDF Invoices & Packing Slips by welaunch compatible with WPML?
I have installed the plugin and translated the related strings.
I discovered something.
If you create the order from the WordPress dashboard, the invoice will not be translated properly.
When the customer places the order, the invoice is issued correctly in the second language, but still, it's not able to reflect some elements like the product details table.
Please check the screenshot to see what I meant.
- Go to WPML->String Translations
- Click on Not seeing strings that you are looking for? tab
- Click on “Translate text in admin screens”
- Search for the strings there and see if you can find them.
- If you can find it, select it and add it using the “Add to string translation” button
- Click on “Return to String Translations”
- Translate it
I don't see all contents being translated, there are multiple instances of the same strings so I would suggest you to translate the strings with name [woocommerce_pdf_invoices_options]contentItems...