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 6 replies, has 3 voices.

Last updated by Marcel 1 year, 5 months ago.

Assisted by: Marcel.

Author Posts
July 13, 2023 at 10:50 am #14031461

Swen Kleibrink

Hello
I have a problem with the woocommerce emails translating. I have successfully done it before 2 years ago on another website. And everything comes correct in English or German depending on what language they are in.

Danke für deine Bestellung

Hallo Star,
vielen Dank für deinen Auftrag! Wir haben deine Bestellung #992949 erhalten und werden sie umgehend bearbeiten.
(Bestellnummer #992949) (Juli 13, 2023)
Produkt Anzahl Preis
fake product test 1 10,00 €
Zwischensumme: 10,00 €
Versand: 58,00 € via Versandkosten
Tax: 12,92 €
Zahlungsmethode: Fake Pay
Gesamt: 80,92 €
Rechnungsadresse
Starpaint Industries
Star Tech
An d. Ziegelhütte 14
97320 Mainstockheim
9321902040
starpaintoffice@gmail.com
Lieferadresse
Starpaint Industries
Star Tech
An d. Ziegelhütte 14
97320 Mainstockheim
Vielen Dank, dass du starpaint.de verwendest!

Vv
On the new (staging site for another site chromlack I don’t see the German translation fully. I have located a couple of strings but a lot is missing I highlighted below. The un-highlighted text I was able to find in string translation and translate:
Thank you for your order

Hi Rob,
Just to let you know — we've received your order #11263, and it is now being processed:
[Order #11263] (July 13, 2023)
Product Quantity Price
ONLINE *LIVE* Chrome Paint Training Class - Testing Purposes Only 1 $0.00
Subtotal: $0.00
Total: $0.00
Ticket Details
ONLINE *LIVE* Chrome Paint Training Class - Testing Purposes Only
Date:July 10, 2023
Start time: 13:00
End time: 14:00
Name: Rob G
Email: tech@starpaint.eu
Telephone: 4915781144375
Company: Rob
Billing address
Rob
Rob G
An d. Ziegelhütte 14
97320 Mainstockheim
Germany
4915781144375
tech@starpaint.eu
Thanks for using beta.chromlack.eu!

Also is the order complete email. How can I keep different translation of this, please refresh me.
For example I search in string for Product but there are 809 results. Was something easier I forgot
thanks

July 13, 2023 at 11:06 am #14031539

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,

As per your request, here is your ticket!

Before this ticket gets assigned to one of my colleagues, I kindly request you check the documentation mentioned below on Translating WooCommerce emails.

- https://wpml.org/documentation/related-projects/woocommerce-multilingual/how-to-translate-woocommerce-emails/

This documentation covers almost everything about translating WooCommerce emails. I hope it will help. But, feel free to let us know if you need further assistance. We will be happy to assist you.

Best Regards,
Prosenjit

July 19, 2023 at 10:23 am #14064905

Swen Kleibrink

Thanks not everything is translating, I have found some strings, but for each the
Total, price labels etc are not translated
we are in staging beta so I could let you login, or we have a testing site you could log in there and tell me what you do, but I think is bettin in our staging beta site.
please let me know so I can give login details

July 19, 2023 at 3:54 pm #14067613

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hello,

my name is Marcel and I am taking over your ticket.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I'll need to temporarily install a plugin called "Duplicator" or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please make a backup of site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

If it's staging and OK for you, I will install an e-mail logging plugin o easily test the translation of those strings.

Thank you very much!

Kind regards
Marcel

July 20, 2023 at 3:44 pm #14074181

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi,

could you please add me some specific strings you can't find? ASs far as I see, your example is from another website? As on the new order mail template, there is not much more text configured: hidden link.

There are no shipping options configured that work for the test product. Make sure the strings you don't find are registered for translation. You can do that here: hidden link. Then you can translate them from WPML -> String Translation.

Best Regards
Marcel

July 20, 2023 at 8:04 pm #14075005

Swen Kleibrink

Marcel
Please don't waste my time and days of mis-understanding. Read my original ticket, maybe the person I spoke in chat did not note it correctly. You should know after reading that the strings for the emails are not found. The English emails to the customer and to the shop owner are correct, but the German ones are not, many of the texts are not translatable, please read my notes so I don't have to explain again and test it yourself in both languages. If you cant help please get me a person who can, I do not have time for this!

July 21, 2023 at 11:28 am #14079363

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi,

You should know after reading that the strings for the emails are not found.

I know this already, but I can't confirm if you translated even the correct strings. I'm asking you for specific examples to ensure you translated the strings from the proper text domain. 3rd party plugins, your theme or any other custom modifications can overwrite your strings.

I have found some strings, but for each the
Total, price labels etc are not translated

I added a specific shipping option, and I placed an order where all strings are translated to German. Then I made an order in English, and the texts are identical, so there are also no specific strings loaded from another place. Therefore, there is no issue in translation. Everything works as it's currently configured.

many of the texts are not translatable

Please add a specific example I can see, as in the order confirmation on beta.*** I can't reproduce it. This is the mail template for "Processing order " hidden link. This a translated string (we use only the woocommerce textdomain here): hidden link.

So what is your exact issue here? On your example text for starpaint you are using modified woocommerce texts. So it seems to be that you are actually trying to edit the default language of those strings, but this is not on WPML, this you can do first on the woocommerce template itself and translate it afterwards via String Translation. The link to this you can find above (WooCommerce -> Settings -> Emails)

Best Regards
Marcel

mail-woocommerce.png