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.

No supporters are available to work today on this forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 -

Supporter timezone: Europe/Zagreb (GMT+01:00)

Tagged: 

This topic contains 13 replies, has 2 voices.

Last updated by Dražen Duvnjak 3 months, 3 weeks ago.

Assisted by: Dražen Duvnjak.

Author Posts
April 26, 2024 at 8:04 am

lobkeB

I cannot translate (and find) a string in the Woocommerce 'order completed' email. The string is:

We zijn klaar met het verwerken van je bestelling.

Many thanks!

April 26, 2024 at 8:38 am
April 26, 2024 at 8:39 am #15569139

Dražen Duvnjak
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

lets continue here, please create latest staging site.

1) Switch to WP default theme and disable all plugins except for WPML plugins and WooCommerce, check if the issue still happens.

2) If yes, share wp-admin and FTP access with me so I can check it out.

Thanks,
Drazen

April 26, 2024 at 10:03 am
April 26, 2024 at 10:18 am #15570036

lobkeB

I just installed 'wp mail logging' for you, this is where you can see how the mails look like you have send.

Screenshot 2024-04-26 at 12.16.33.png
April 26, 2024 at 11:38 am #15570400

Dražen Duvnjak
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

thanks, I have checked.

1) For other new not translated strings, you need to re-translate them from WPML > String translation, just click and save. Image attached.

2) For the string "We have finished processing your order", I was not able to make it work, so I am going to escalate this to our 2nd tier to check further, note this take a while. Please leave the staging site as it is so we can check.

I also tried to reproduce the issue on a new test site, but there it works fine, so it seems the issue is specific to your website.

Regards,
Drazen

Screenshot_1.jpg
April 26, 2024 at 11:58 am #15570482

lobkeB

Hi Dražen,

Many thanks.

1) yes, I already did that and it works fine again:)
2) Ok, great.

Thanks for now!

May 2, 2024 at 8:18 am #15586051

Dražen Duvnjak
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

this has been escalated to our devs for further check.

In the meantime you can try the next workaround removing the file: wp-content\languages\plugins\woocommerce-nl_NL.l10n.php

It is possible that the file will be either regenerated or will be re-downloaded though so this is a very temporary workaround and we will update you when we have more news.

Regards,
Drazen

May 20, 2024 at 2:02 pm #15646249

lobkeB

Hi Drazen,

Sorry for my very late response.
Lucky me, I was on holiday.

I have deleted the file you mentioned.
In the attachment you will see that now the languages are all mixed up.
This happens only when I send shipping confirmation emails in bulk. Not when I send the shipping confirmation one per one.

In summer we don't sell a lot, as we sell heated products. But in winter we receive around 200 orders a day, so to send a shipping confirmation one per one is not ideal.

I hope there will be a solution?

Best regards,
Lobke

Screenshot 2024-05-20 at 15.56.34.png
May 20, 2024 at 2:18 pm #15646358

Dražen Duvnjak
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello Lobke,

thanks for getting back.

1) Did you check if the strings are now translated in ST?

2) Did this work before fine?

3) Also, how do you send emails in bulk, this could be related to another plugin and not same issue, since it seems to work fine when sent one by one.

Let me know.

Thanks,
Drazen

May 20, 2024 at 4:17 pm #15646895

lobkeB

Hi Drazen,

Thanks for your quick reply.

1) Yes, I did check if the strings are correctly translated in String Translation. In one email a string would appear in German in another email the string would appear in English. Although it was a French email.

2) Before the default text 'We have finished processing your order' would appear instead of the translated version. Now the translated strings appear (so that is a good thing), but the languages are mixed up.

But other problems do appear now. For example the bold text in the email (product, size, quantity, amount, etc) is sometimes in french (in a dutch email), another time in english (for a german email), etc.

3) I go to woocommerce > orders. Then select the orders, then choose 'change status to completed'. See print screens.

Best regards,
Lobke

I check the boxes .png
I choose 'change status to completed'.png
May 21, 2024 at 6:47 am #15648071

Dražen Duvnjak
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello Lobke,

thanks for getting back, I can confirm this happens also on the staging site.

Since you said there are not many orders for now for you, I advise as a workaround to send one email per one, as we are working on this issue for a permanent fix and should be ready for the next version of WPML 4.7., it will take some time before release but I think it will be ready in few months.

Hope this makes sense and is okay for you.

Regards,
Drazen

May 21, 2024 at 8:38 am #15648786

lobkeB

Hi Drazen,

that is great to hear, I will wait patiently!

July 18, 2024 at 2:33 pm #15973190

Dražen Duvnjak
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

Just to update you, we have a test version of the latest WPML String translation that should've fixed your issue.

Can you please test it out on your staging site and get back to us if helps fix your issue?

- hidden link

Please note this is not a fully stable version so we do not advise using it other than for testing, you should wait for full release before using it on your websites. Make sure to have a backup before trying it out.

Let us know.

Regards,
Drazen

July 22, 2024 at 3:59 pm #15987876

lobkeB

Hi Drazen,

thank you very much for having created these alterations to the plugin. I have tested the plugin on my test environment.
The emails are sent in the correct languages. So that works perfectly.

However one translated string does not show up in the email.
This is the string:
We have finished processing your order.

As you can see in the attachment I have translated this sentence in every language. In order to be more polite to our customers and give them more info.

For example in Dutch it says:
We have good news for you; your order was shipped today and will be delivered to you within 1 business day.

We hope you enjoy your order and wish you lots of warmth!

Is that something that could be fixed as well?

Best regards,
Lobke

Screenshot 2024-07-22 at 17.52.16.png

The topic ‘[Closed] cannot translate (and find) a string in the Woocommerce 'order completed' email’ is closed to new replies.