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.
Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
Background of the issue:
I'm trying to configure email translation from Polish to German on my site hidden link. I managed to partially translate the standard transactional email that I customized using Kadence WooCommerce Email Designer.
Symptoms:
I can't translate the email with invoice generated by the 'Fakturownia Woocommerce' plugin, despite I see the string in String Translation section.
Also another email got partially translated, but some standard fields like Product, Quantity, Price didn't get translated.
Questions:
How can I configure this translation so the emails are sent correctly?
You mentioned that the problem is with the Fakturownia Woocommerce plugin. Is this the plugin in question? hidden link
If so, we might be facing a compatibility issue with this plugin, as it is unknown to us. Please let me know, and we will continue to investigate this issue.
About the fields like Product, Quantity, Price, please check if you can find those strings in the admin strings section. Please read about it here:
Regarding the fields Product, Quantity, Price - I can find them in the String translation but they are translated already. They seem to come from Woocommerce and the translation works for the "processing order" email, but not for the "completed order" email.
We need to replicate this issue on a fresh WordPress installation. Then, I'll be able to escalate it to our compatibility team. For this, I created a test website with a clean WordPress install. You can access it through this link:
hidden link
With this link, you'll be directly logged in.
Could you please install the Fakturownia WooCommerce plugin and see if the issue is replicable on a clean WordPress installation?
I have already installed WooCommerce and configured WPML to have Polish as the default language and English and German as the second language.
Please also ensure you install the latest version of the plugin.
I also installed the Email Log plugin to catch our outgoing emails.
Please let us know when everything is finished, and you can replicate the problem.
Important! Do not import your site to the test site. We must replicate the problem on a fresh, clean WordPress installation.
The strings Product, Quantity, and Price may have more than one instance.
Have you checked the Admin Texts Translation screen?
There, you may find more instances of those strings and move them to Strings Translation for translation.
Ok, so I installed the invoicing plugin and sent first email (emails don't come to my inbox, but I can see them in logs).
Now, at the moment I can't see the strings from Woocommerce-fakturownia in the String Translation tool. I imagine somehow they must be registered first and I think I've done that with my original site, but I'm not sure how.
Please try to go to WPML -> Theme and plugin localization and scan this plugin for strings. Then they should show up in Strings Translation. More information about this is in our guide here.
Ok, so I did the following:
1. Scanned the plugin for strings.
2.Then I added the German translations to the strings that are contained in the email with the invoice.
3. I switched to the German in the backend
4. Created an order with German as an order language
5. Generated an invoice to release the email
6. Checked the email in logs