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.

Tagged: 

This topic contains 32 replies, has 2 voices.

Last updated by Dražen Duvnjak 1 year, 2 months ago.

Assisted by: Dražen Duvnjak.

Author Posts
August 30, 2023 at 9:56 am #14312177

lobkeB

Hi,

My site sends a lot of emails, for example 'Thank you for your order' and 'Review your order'. All these e-mails are translated in about 10 languages in they all work well.

Except for 3 e-mail, ONLY in the Swiss language (all the other languages do work well).

In the attachment you can find an example of one of these Swiss translated e-mails that does not work.

How come that the system does not use the translated Swiss string translation, but uses the default English text?

Many thanks in advance.

Best regards,

Lobke Buijs

Screenshot 2023-08-30 at 11.09.20.png
Screenshot 2023-08-30 at 11.46.46.png
September 1, 2023 at 7:18 am #14324647

Dražen Duvnjak
Supporter

Languages: English (English )

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

Hello Lobke,

thanks for contacting us.

1) As I understand this string is coming from some 3rd party plugin called Ivole, or?

2) It works just fine in other languages except for Swiss?

3) Try to remove/delete this string, then make a small change to the default language one and re-translate it.

- https://wpml.org/documentation/getting-started-guide/string-translation/

Let me know how it goes.

Regards,
Drazen

September 6, 2023 at 6:51 am #14348751

lobkeB

Hi Drazen,

1) The 3rd party plugin is called CusRev

2) Yes

3) I removed the strings. I made a change in the default language, saved it. Then corrected it, saved it. Then I translated the strings.

It is still not working in the Swiss language unfortunately.

Regards,

Lobke

September 6, 2023 at 7:02 am #14348797

Dražen Duvnjak
Supporter

Languages: English (English )

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

Hello,

I am not familiar with this plugin.

In order to understand the issue better and confirm it is not a compatibility issue, I have created a test site.

Can you please try to reproduce the issue in a simple example:

- Add your custom language
- Add your custom email and only needed plugins
- Check issue
- If the issue happens, share the steps to check with me

Login link: hidden link

Regards,
Drazen

September 6, 2023 at 8:32 am #14349387

lobkeB

Hi Drazen,

I tested the Sandbox site, places orders, send email invitations, send test-emails.... but I don't receive any email in my Hotmail box. So I don't know if it works.

I also saw in my live site that the Swiss language is not mapped. See attachment. I thought maybe that is the reason it doesn't work. So I mapped the Swiss language to 'German' in my beta environment, but that didn't do the job.

Also in my live site the 'Austrian' language is not mapped. And in Austria these emails are perfectly translated. So this mapping-thing can not be the cause.

Also in the Sandbox I unmapped Sweden. Because that is the situation for the Swiss language.

Best regards,

Lobke

September 6, 2023 at 9:12 am #14349879

Dražen Duvnjak
Supporter

Languages: English (English )

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

Hello Lobke,

thanks for getting back and taking the time to reproduce.

I forgot to mention about emails, sorry. I have added now a Mail log plugin and you can check outgoing mail from the Mail login menu.

I also checked your previous outgoing emails and it seems they are in English.

Can you please check the sandbox again and mail log and confirm if the issue still happens for the Swiss language? I suspect it could happen since it is a custom language with a specific language code (uppercase).

Regards,
Drazen

September 6, 2023 at 9:45 am #14350369

lobkeB

Dear Drazen,

I send 2 test e-mails and in the log they appear in English.

But I think you have found the solutation!
I don't use the amercian language. But this language is also in uppercase. I translated the string and send a test. And indeed, the email is in the default language.

Also the Belgian language is in uppercase. I send a test e-mail as well. Also for this language, the default language appears.

So it must be the uppercase issue.

Is there any way to change the uppercase to lowercase?

Or is there any way to change the behavior of the uppercase? That the performance is exactly the same as the lowercase?

Regards,

Lobke

September 7, 2023 at 5:55 am #14355745

Dražen Duvnjak
Supporter

Languages: English (English )

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

Hello Lobke,

it was just a guess from my side, we would need to confirm and escalate to our 2nd tier for further check up and fix.

I suggest:

- Try to reproduce the issue on sandbox with exact settings (custom language and etc), to confirm this is the issue and can be escalated

- try to confirm on your website, that this is the case, try adding 2 new custom languages, 1 with lowercase and 1 with uppercase to confirm this is causing a problem for you.

From there we will decide on the next step and check further for a fix.

Let me know how it goes.

Thanks,
Drazen

September 7, 2023 at 1:16 pm #14359823

lobkeB

Dear Drazen,

on the sandbox all emails are send in English, so that does not work correctly.

Also sandbox and my site are not quite the same:
My site: ' A different domain per language'.
On the sandbox ' Different languages in directories ( (hidden link - Dutch, hidden link - America) )'

Anyway on my site the CH en BE are installed in uppercase. I also have a US version (.com) installed but I never tested the emails send by the US version because we don't use .com as a webshop. But I just send a 'review reminder test email' from the US version, and.... indeed, the system is using the default body text instead of the translated US version.

I think that proofs again that the problem is this uppercase thing.

Is there anyway to change it, or would that mean that we have to remove the complete site and install it again?

Best regards,

Lobke Buijs

September 7, 2023 at 1:37 pm #14359999

Dražen Duvnjak
Supporter

Languages: English (English )

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

Hello Lobke,

thanks for checking and getting back.

If it works for the rest of the language, then could be that is the issue. Let us check it out further and try to help out.

1) Please share steps on how can I check the issue while being logged in.

2) I will share the steps in the next reply on how you can migrate the website to our server so we can check and debug this issue further.

Regards,
Drazen

September 8, 2023 at 11:50 am #14366403

Dražen Duvnjak
Supporter

Languages: English (English )

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

Hello Lobke,

thanks for getting back.

I have checked the migrated website and spent some time debugging and making it work there, but when I tried to adapt the same steps to your production website, I saw that email nor settings are the same, images attached.

I am not sure why that is, and if you changed something, but I guess I am debugging and fixing different setups on our copy.

Can you please share more info on this, and make sure the setup is the same or provide us a test site access where the same setup, settings, and issue is happening?

As said before, I can not nor is it safe do detailed debugging on a production website.

Regards,
Drazen

Screenshot_3.jpg
September 11, 2023 at 7:44 am #14373211

lobkeB

Dear Drazen,

You were working on beta.heatperformance.nl instead of the production website hidden link. But there this issue is exactly the same, however the text of the email is indeed a bit different.

beta.heatperformance.nl en hidden link are on exactly the same server.
I created an admin role on my production website for you, not on beta.heatperformance.nl. So indeed, it is a bit weird that you see this email with a green background. (The green background is on the beta site only).

Maybe you can have a look again and make sure you are not on the beta website?

Best regards,
Lobke

September 11, 2023 at 7:49 am #14373223

Dražen Duvnjak
Supporter

Languages: English (English )

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

Hello Lobke,

as I already mentioned in my fist replies, I can NOT do further debugging to solve the issue on production, that is why I asked you to migrate a website to our hosting ( Cloudways), which you did, where I further checked and solved the issue, only to be not same website as production.

I need to be able to disable all plugins and themes, which is not safe to do on production.

So, please, to speed things up here, create a new fresh staging site where I can further check the issue and share the link with me.

Regards,
Drazen

September 11, 2023 at 7:53 am #14373243

lobkeB

Dear Drazen,

I can update my beta.heatperformance.nl site and

1) Mirgrate my site again to Cloudways. And you will work an Cloudways.
or
2) You work directly on beta.heatperformance.nl and I will create an admin account for you.

Which one do you prefer?

Best regards,

Lobke

September 11, 2023 at 7:55 am #14373247

Dražen Duvnjak
Supporter

Languages: English (English )

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

Hello,

please create a new fresh staging site on the beta URL, it will be faster and then I will check.

Please add admin access to the safe box below.

Regards,
Drazen