Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 -
- 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 -

Supporter timezone: Asia/Kathmandu (GMT+05:45)

This topic contains 0 replies, has 0 voices.

Last updated by Shekhar Bhandari 3 days, 19 hours ago.

Assisted by: Shekhar Bhandari.

Author Posts
February 20, 2025 at 7:08 am

emadK-2

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?

February 20, 2025 at 8:00 am
February 20, 2025 at 8:45 am #16728107

emadK-2

Hello,

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.

Please take a look if you can help.
Thank you.

Emad

Screenshot_303.png
February 20, 2025 at 9:45 am #16728526

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

- 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

This should fix the issue.

Look forward to your reply.

Thanks

February 20, 2025 at 1:50 pm #16729957

emadK-2

Hello,

I did that, and I added everything not included in String Translation.
Some of them were reflected on the invoice, and some were not.

Can you please check?

Thank you again.

February 20, 2025 at 2:24 pm #16730232

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

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...

I tried it on sandbox site and it works for me.

Let me know if this helps.

Thanks

February 20, 2025 at 4:59 pm #16730810

emadK-2

Hello,

Thank you for following up.
I already applied that on my main website, and the issue has already been solved.

Thank you so much.

February 21, 2025 at 2:56 am #16732012

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Thank you for confirming.

Thanks