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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 -
- - - - - - -

Supporter timezone: Pacific/Easter (GMT-05:00)

This topic contains 6 replies, has 2 voices.

Last updated by mariuszM-13 2 days, 6 hours ago.

Assisted by: Ilyes.

Author Posts
November 7, 2024 at 11:17 am #16376580

mariuszM-13

Background of the issue:
I am translating from Polish to English using WPML. My main translation engine is Google, followed by Deeplearn and Bing. I expected WPML to use Google Translate for Polish-English translations.

Since all three support Polish to English translations, I expected only Google Translate to be used.

Symptoms:
WPML seems to translate with Bing instead of Google. The translation quality was poor, and it matched Bing's output, not Google's. I checked it manually. I took the same paragraph and used web version of Bing Translate. And to my surprise the output text was identical. So I took the same Polish text and this time inserted into web version of Google Translate. The output was high quality and different. It looks to me that Bing is used even if Google Translate is the first engine.

Questions:
Can you check on your end which engine is actually used when translating any test from Polish to English? (Use Google for primary, Deeplearn for second, Bing for third)
If it is actually Bing being used anyway, how many credits are charged?

November 8, 2024 at 1:29 am #16380337

Ilyes
Supporter

Languages: English (English ) French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello,

Thank you for contacting WPML support team,

Here is a report of translations done on November 2024 : hidden link

I do not see Microsoft listed there, but to be safe, you could simply disable that engine,

As you can see under the Engines details here : hidden link

All three engines are able to translate from Polish To English and vice-versa,

Would you consider disabling Microsoft engine to make sure you are not using it in the future?

Best,

November 8, 2024 at 7:58 am #16380869

mariuszM-13

The report is not clear, but it is irrelevant. On my end I selected Google, but the output comes from Bing. So even if the report says Google it does not change anything.

By checking on your end I meant the code, not my account.

And the fact you are advising me to disable the engine "to be safe" means that you are actually unsure. So please make sure insted.

If indeed Bing is used instead of Google, when Google in switched on and set as first, then logically I cannot be sure Bing will not be used even if I switch it off...

What if there is a problem with code and both or all 3 engines are named Google, DeepLearn and Bing, but by someone's mistake all of them send data to Bing?

This is what I ask you to check, not my account, not my website, but your code. The output I got was from Bing instead of Google, so please check how this happened, not advise me how I can setup setting on my websites.

November 11, 2024 at 12:07 pm #16388400

Ilyes
Supporter

Languages: English (English ) French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello,

I’m here to help you achieve the results you’re looking for.

The report provides a clear and precise way to identify each translation JOB ID and the corresponding post or content. It’s part of the code as it comes directly from the translation management servers, not from your account. It shows what API was executed for each job while using out code.

Regarding your mention of "The output I got was from Bing instead of Google," could you share more details on how you tested this? For example, did you verify it manually with Bing or Google translation tools?

To clarify what I meant by "to be safe," I was suggesting that, in the future, if Bing might be used (even though it’s unlikely), you can avoid this possibility by removing Bing from the translation settings. And it will be removed, it is certain.

Here’s a bit more on how the code prioritizes translation engines:

- The system only defaults to another engine if the primary one is busy or unavailable or if it doesn’t support the chosen languages.
- In your setup, if Google isn’t available due to issues like too many requests or service downtime, DeepL will be used instead.
- Only if both Google and DeepL encounter issues, which is very rare, would Bing be used.
- If you do not have Bing active at that rare occurrence, then the translation will not go through.

Let me know if this helps clarify things!

November 19, 2024 at 10:33 am #16418827

mariuszM-13

Do not blindly belive everything works... This is one of the problems here at this support forum. Each time I report a problem, I need to spend a week convincing one of you guys that there is actually a problem. You are the SUPPORT, you are supposed to be supportive...

1. Test it, before you tell me I am not right.

Set up a page, where you have text in Polish. You can generate it with AI, does not matter.

Set the only translation engine to Google, switch off the rest. Translate it.

Then go to the Polish text and copy each paragraph to web version of google translate... Each time you get a different output that from your automatic translation, open also Bing Translate (Polish to English) and copy the same paragraph. See the output there. If Bing output for a specific paragraph is just as WPML translated, but differes from Google Translate output, then something is wrong... I get it all the time..

2. The report only shows that some text was sent to a piece of WPML that is called Google Translate engine queue. Have you checked the right API is connecteted in that module? Perhaps at some point someone made a mistake and all these WPML engines have the same BING API?

Or, perhaps the APIs are ok, but the problem is in the selection or order of engines. Perhaps there is a bug there and no matter what I select, the text goes to Bing anyway, because some algorythm wrongly determines that Google or DeepLearn have issues. Perhaps switching off only greys out the boxes, but for WPML they are still as active as if they were on... These are all potential issues that may be made by small coding errors. And WPML issues erratas and updates on a regular basis, as a whole you guys understand that sometimes you make mistakes.

So why don't you personally understand that?

Is your job to tell me I am not right and deny there is a possibility for a bug? Or is your job to support me and find out more about the issue to fix it? I think you need to be more open-minded about bugs. They always happen and this may be a bug. Se the history of reports. How many of them were not bugs?

November 20, 2024 at 2:55 pm #16425313

Ilyes
Supporter

Languages: English (English ) French (Français )

Timezone: Pacific/Easter (GMT-05:00)

Hello,

I apologize, it was not my intention to doubt your concerns,

I could dig deeper on this but I would need little more information first.

1. Could you please share an example of one of the pages from the site that was translated from Polish to English that you think used Bing.

2. I will select 3-4 sample texts from that job and verify them using Microsoft and Google online tools to validate this.
So please share a few examples of content from the you believe were translated incorrectly.

3. Create a new test site using the same content to check if the translations vary, please share access to this testing site.

Best,

November 22, 2024 at 9:12 am #16432677

mariuszM-13

No, you do not need any more information.

Just test it yourself.

You do not need any example of any page from me to do that. The only reason you would ask that is if you are still trying to imply the problem is on my end. I just want you to test your end independently from any of my pages. So to do the following:

1. Open chat GPT.
2. Ask the chat: "Write a 1000 word blog article in Polish about why intelligent people hate talking to online support agents".
3. Then paste it onto a page in your sandbox wordpress.
4. Install WPML with real translation engines. Set the main language to English. Set Google Translate as the first and only engine to use. Make sure all others are switched off.
5. Translate the page automatically.
6. Open the Polish version of the page in a separate tab.
7. Open the English version of the page in a separate tab.
8. Open Google Translate page in a separate tab.
9. Open Bing Translator page in a separate tab.
8. Copy the first paragraph of the Polish version and copy it to both Google Translate and Bing. Compare the output with the English version.
9. Repeat point 8 with all remaining paragraphs.
10. Make notes of every paragraph that met one of the these conditions:

a) Google Translate output is different from the English version supposedly translated by Google Translate engine. (In this case you see that another engine was used instead)

b) Google Translate Output is different from the English version supposedly translated by Google Translate engine, but the same output is identical to Bing Translator (In this case you see that Bing was used instead of Google)

c) Both Google Translate output and Bing Translator output are the same as the English version supposedly translated by Google Translate engine. (In this case you cannot determine which engine was used)

d) Both Google Translate Output and Bing Translator output are different from the English version supposedly translated by Google Translate engine. (you know another engine was used, but cannot determine which one)

11. Make a report and send it to the right people.