Translations not working in "Completed Order"

Hello,

We use Loco translate to translate strings in the emails. All is working well, except on the "Order Complete" email our translations are not working. In WooCOmmerce you have to press the small tick icon (backend) in order for the "Order Complete" email to be sent. Somehow your plugin is having an issue here with the translation strings.

I have checked by disabling your plugin. The "Order Complete" emails from WooCommerce work 100% correctly (translations are correct).

Can you look into this?

BR

Asked on September 22, 2017 in Email Customizer.
Add Comment
14 Answer(s)

Hi there,

I really need to get my site live ASAP.  What is strange is that all system emails use the same templates, so why is it only the "Order Complete" email which is having this problem? Something to do with when the email is manually triggered compared to automatically triggered?

Thanks

Answered on September 22, 2017.
Add Comment

Hi there,

Just to give you more info, the translation strings (titles)  which are not being translated in the "Order Complete" email are the following:

Order Number:
Order Date:
Customer Details
Billing Address
Shipping Address

 

I would really appreicate some help on this, as it is not an issue with loco translate (as all other emails are translating without an issue).

Cheers

Answered on September 23, 2017.
Add Comment

Hi There.

I'm not 100% sure but it could be that those strings are owned by WooCommerce not our plugin. Can you check?

Thanks

Sean

Answered on September 25, 2017.
Add Comment

How do I check that? This is not my are of expertise. Thanks

Answered on September 25, 2017.
Add Comment

Please also note that WordPress translates this email perfectly, if I deactivate your plugin.

Answered on September 25, 2017.
Add Comment

Hello,

I understand you are understaffed, but I need to get our website live and some more helpful support from you would be appreciated.

Even if those strings are "owned by WordPress", it is your plugins job to enable them to be translated. WordPress translates them when your plugin is deactivated, so it is therefore more thanlikely it is an issue with your plugin. I deactivated all plugins and tested, but the issue remains even with all other plugins deactivated.

I just need these titles translated, whatever the solution. Can you please either have a look at this, or come back to me with another way in which we can get these titles transalted.

Thanks in advance. Your time is appreciated.

David

Answered on September 27, 2017.
Add Comment

Ticket opened 10 days ago. No solution. I find your level of support for a paying plugin rather unprofessional.

Please try and do better. This is holding up everything our side. So much so that we are already trying to see if there is another alternative to your plugin, just because of this small issue which I am sure can be easily resolved.

Answered on October 2, 2017.
Add Comment

Hi There.

So sorry about the reply delay. We all have full time jobs and try to do this in addition. Let's get your issue sorted.

Can you just let me know what template you're using? - I've checked but can't see any strings that aren't available for translation.

Can you also see these strings are translated correctly in Loco:

Order Number:
Order Date:
Customer Details
Billing Address
Shipping Address

Thanks

Sean

Answered on October 3, 2017.
Add Comment

Sean thank you for your reply and respect for managing the plugin/s on top of full time jobs.

I have discovered the issue but I do not know how to fix it. These strings which are not translated, retain the WordPress language which the super admin has set for the backend. So for example my super admin  langauge is set to English, but the WordPress site language (front-end) is in German. This means that these strings in this email stay in English and are not translated to German as they should be.

If I switch my super admin  langauge to German, then these strings in the "completed order" email are all of a sudden translated to German. The problem is I need my backend in English. I also tested this from another computer without logging in. These strings will always stay in the langauge of the super admin (English), even if you are not logged in while creating an order.

This issue is not theme specific (I use Vanilla but issue is the same on the other themes) and all the strings my end are properly translated.

If you test this your end, I am sure you will see the same issue.

Thanks for a reply - hopefully sooner reather than later.

 

Answered on October 3, 2017.
Add Comment

When I look in the languages folder for your plugin there is no template (.pot file), which might help solve the problem. Here is an error mesage which loco translate gives about  5 language files which can't be match to  a known set of strings.

RE: Translations not working in

Maybe these are the strings which are not translated? If these strings are not available for translation for whatever reason, maybe WordPress has to fall back to the admin user language if it cannot access the required strings.

Can you create a .pot file, which we can test? We would simply upload it to the /languages folder of the plugin and see if that would solve the issue. If you have other ideas, then feel free to share.

It is always better for a plugin to come with a pot file, as it also helps speed up page loading in the checkout process.

Answered on October 3, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.