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.

This topic contains 16 replies, has 2 voices.

Last updated by Dražen 5 months ago.

Assisted by: Dražen.

Author Posts
July 24, 2024 at 10:48 am #15997822

arneD-6

Ah okay, I understand.
Well I have tested it before with the Mail template "Bestellung in Bearbeitung".
But since we had to deactivate several plugins, I couldn't send a test mail anymore.
Is it possible for you to send or preview this mail template?

Best regards,
Leon Raithel

July 24, 2024 at 10:50 am #15997854

Dražen
Supporter

Languages: English (English )

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

Hello,

please share what plugin is this template related to so I can enable it. How it was built and translated? Make sure also to add step by step guide on how can I check and see the issue.

Thanks,
Drazen

July 24, 2024 at 11:25 am #15997929

arneD-6

Hello,
no, sorry.
I believe I expressed myself incorrectly.
This is still about a WooCommerce email, but we apparently used a plugin that allowed us to manually send such emails. However, after deactivating the various plugins, this feature disappeared.
I can't say exactly which plugin is responsible for this, as it doesn't reappear after activation. Our test site seems to be behaving very strangely now after I reactivated the theme and plugins.

Attached, I am sending you a screenshot of what I mean.

In the screenshot you sent me, I saw that you displayed the email in another way. Can you try it that way?

Best regards,
Leon Raithel

Screenshot from 2024-07-24 13-21-57.png
July 24, 2024 at 11:35 am #15998026

arneD-6

Ah, I found it.
It's the plugin PDF Invoices & Packing Slips for WooCommerce.
You can also activate the professional one.

July 24, 2024 at 11:43 am #15998059

Dražen
Supporter

Languages: English (English )

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

Hello,

yes, but those are 2 different things, it is not the same if a regular WooCommerce email is not working or if the email is altered and related to another plugin. That is why the first thing I asked you to check in minimal without related plugins and themes, was to confirm what was causing the issue.

Anyway as I have shown in the last ticket, WooCommerce emails work fine, if you have any questions related to that you can get back to that ticket.

As for issues with the related PDF plugin, only the PRO version is compatible with WPML and should work fine.

1) Did you check and follow related documentation to this plugin:

- hidden link

2) Please share with me image of what is wrong in the email and steps to check the issue.

Thanks,
Drazen

July 24, 2024 at 1:29 pm #15998731

arneD-6

Hello,
The translation of our invoice works fine; it's the WooCommerce email that's the issue.
This email template exists without our PDF plugin, but it is needed for testing since we can manually send emails with it.
I followed this tutorial:
https://wpml.org/documentation/related-projects/woocommerce-multilingual/how-to-translate-woocommerce-emails/

As you can see in our screenshot, the email is completely in English, except for the subject, header, and the last sentence of this email.
All of these need to be translated via WPML, which I did according to the tutorial.

When you've activated the PDF plugin that I mentioned before, you'll need to go to the order, for example, the order from Leon Raithel (Please do not touch any other order, since it could be sent to a customer.)
You can always create a new order and insert an email/account from your site to test, as I would be the one getting the email.
When you open the order, you can now select on the right which email you want to send. In this case, we want to send the "Bestellung in Bearbeitung" email, as it's the only one I have translated on the test server yet.

I hope this is detailed enough.

Best regards,
Leon Raithel

Screenshot from 2024-07-24 15-16-26.png
July 25, 2024 at 6:16 am #16001394

Dražen
Supporter

Languages: English (English )

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

Hello Leon,

I have tried but getting a fatal error when trying to activate the PDF plugin, seems to be related to some files missing, so I am stuck to debug further.

1) Do you still have a staging site?

2) Let's try to see if this is a bug, can you please install that PDF plugin in the next test site, translate 1 email, and check if the same issue happens? You can use the WP Mail Logging menu to check outgoing emails.

Login link: hidden link

Thanks,
Drazen

July 25, 2024 at 1:05 pm #16003703

arneD-6

Hello Dražen,
yes we still have a test server, but activated everything again and use it for another topic.

I can't translate any string on this test server, since it's already waiting for a translator.
When I try to open the jobs I get an error which says that there was an error loading the translation jobs.

Best regards,
Leon Raithel

July 26, 2024 at 10:34 am #16008119

arneD-6

Hello,
I don't really get why we have to make another migration.
I wasn't able to translate on YOUR fresh server.
Can't we just try to test on this test server and just make the translations work again?
I don't have any problems to at least initiate the translation on my server, it was on your server.
The only problem we have is that the string translations for the mails aren't working.
Just give me a test server where wpml works fine as usual and I would be glad to test the emails.

Please we really need to make this work asap.

Best regards,
Leon Raithel

July 26, 2024 at 10:49 am #16008188

Dražen
Supporter

Languages: English (English )

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

Hello Leon,

sure, you can use the test server I provided before. I am sorry, I misunderstood you have an issue on your server, my mistake.

To translate email strings just go to WPML > String translation and click on plus icon and add the translation. No need to send them to translator specific and etc.

Let me know how it goes.

Thanks,
Drazen

July 26, 2024 at 10:50 am #16008190

Dražen
Supporter

Languages: English (English )

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

Hello,

one more note, make you are using the PRO version as the free one is not compatible with WPML:

https://wpml.org/plugin/woocommerce-pdf-invoices-and-packing-slips-professional/

Regards,
Drazen

July 26, 2024 at 11:05 am #16008240

arneD-6

As you can see, there is no plus symbol on any string.
We don't need the pro version here, since it's only purpose is to use the function to send mails manually.
I don't want to translate an invoice, since this is already working for us.
And when I am correct, the pro version is only in need, when we want to translate an invoice, but it's just the mail.

Best regards,
Leon Raithel

Screenshot from 2024-07-26 13-03-08.png
July 26, 2024 at 11:10 am #16008357

Dražen
Supporter

Languages: English (English )

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

Hello Leon,

sure, we can try but I think we would need to use PRO since, there could be other compatibility code there that can affect how it works with WPML. It would be good if you could use the PRO version.

As for string translation, please check with another browser, maybe you have something that is blocking WPML scripts, as you can see in image shared, the plus icons show up there just fine.

Regards,
Drazen

Snimka zaslona 2024-07-26 130739.png
July 26, 2024 at 1:59 pm #16008952

arneD-6

Hello Drazen,
thank you the string translation worked on firefox.
I have set the language from demo to german and set the order language to german too, and yet the mail will be sent completely in english.

The PRO Version isn't free. So I don't think I can install it on the demo website just like that.

Best regards,
Leon Raithel

July 29, 2024 at 6:37 am #16013824

Dražen
Supporter

Languages: English (English )

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

Hello Leon,

thanks, I am not sure what or how are you changing the order language, but you can not change it if it was made in EN. I see the product is Test EN, but the order language is de, that is not possible.

You need to make an order in DE, and then email to the client is in DE. The language of the client email depends on which language order is made. I have made a new order in DE and the email is sent correctly. Please check and let me know if I am missing something.

Regards,
Drazen

Snimka zaslona 2024-07-29 083433.png