Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are trying to use WPML's automatic translator function with prepaid credits, but it's not functioning correctly. Specifically, when switching languages using Divi templates, the menu does not update as expected, and it seems like the credits are not being added correctly.
Solution:
This issue occurs specifically with Divi templates where multiple identical templates are defined for different languages. For instance, if you have two Divi templates for headers, one in Dutch with ID 4116 and one in English with ID 7592, ensure that the correct menu is manually selected in the Divi template settings for each language. You can switch the language using the top-bar language switcher or by directly accessing the URL and selecting the appropriate menu within the Divi template.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Additionally, if further assistance is needed, please open a new support ticket at WPML support forum.

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.

Tagged: 

This topic contains 4 replies, has 3 voices.

Last updated by Marcel 2 months, 3 weeks ago.

Assisted by: Marcel.

Author Posts
November 16, 2024 at 7:33 am #16410250

joostH-4

Background of the issue:
I am trying to translate changed parts of the site using WPML's automatic translator function with prepaid credits.

Symptoms:
The automatic translator function is not functioning well, and credits are not being added or something else is wrong.

Questions:
Why are the prepaid credits not being added?
How can I ensure the automatic translator function works properly?

November 17, 2024 at 7:28 am #16411408

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

I will try to answer the question before assigning the ticket to one of my colleagues.

Would you please give us the details of the issue you are experiencing?

Can you do as follows and see if it works ok?

- Go to your Dashboard > Pages.
- Open the edit screen of the original page. You should see a pencil/circle/gear icon in the sidebar options under the "Languages" section.
- Make a small change, for example, add an extra blank space at the end of a sentence/paragraph.
- Save it.
- You should now see that a circular arrow appears beside the 2nd languages links, this means that an update is required.
- Edit the translation again and save it up to 100% translated.

If not, I'd appreciate it if you could provide some screenshots and more details to be able to understand the issue.

Thanks.

November 18, 2024 at 9:58 am #16413921

joostH-4

Hi Christopher,

Thanks for your reply,
I tried to make changes but translation is not working.

I'll send you some screenshots.
It says there are no credits available.
And a screenshot that's shows some credits available.
Something might be wrong in having the site two times in the list?
I do not know which one to add credits to.
I hope you can help us out.

Thanks in advance.

Joost

Scherm­afbeelding 2024-11-18 om 10.49.19.png
Scherm­afbeelding 2024-11-18 om 10.48.46.png
Scherm­afbeelding 2024-11-18 om 10.50.05.png
November 18, 2024 at 8:43 pm #16416519

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

You should have 240001 credits available on hidden link.

It looks like you registered the site with hidden link

I would suggest you delete this site URL from wpml.org:
hidden link

Then use the site key of hidden link to register the site. The key should start with: "ILGE...".

If this will still not solve the issue, please let me know.

Best regards
Andreas

November 23, 2024 at 10:35 am #16435831

joostH-4

Hi, I deleted the site from wpml.org but there is no difference.
Do you have any idea?

What is going wrong?

Thanks in advance.

Joost

November 23, 2024 at 12:48 pm #16436017

joostH-4

For example, the menus are translated synchronously. But on an English page, the Dutch menu is shown

November 26, 2024 at 7:41 am #16442798

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further.

You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it.

IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.

The private response form looks like this:
hidden link

Next time you reply, click "I still need assistance."

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.

Best regards
Andreas

November 27, 2024 at 10:15 am #16448579

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I have now added the 24001 credits to your site.

Sidenote:

The ATE Error Log is displaying the following error:

cURL error 6: getaddrinfo() thread failed to start

Once I try to open now the Advanced Translation Editor on the site, it opens as expected which means that this might have been a temporary issue. Such errors usually can occur due to a falsy DNS config on the server.

Could you please give it another try?

November 27, 2024 at 12:59 pm #16449830

joostH-4

Thanks for your reply,
It looks like translating jobs are working but I know I receive an error on switching to a different language from the dutch language:

___

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@detrommeldomburg.nl to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.
___

And the menu was not showing the menuitems in the language of choice.

November 27, 2024 at 2:08 pm #16450352

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Where exactly do you get an error when switching the language?

Further:

There seems to be an issue with your Divi Library Layouts. I see 48 English layouts and 42 Durch layouts but none of them is actually translated.

You can manually adjust the source language for each language inside the WordPress Editor and connect those languages to build translations.

Guide:
https://wpml.org/faq/how-to-link-already-translated-pages/

December 2, 2024 at 9:04 pm #16468445

joostH-4

Thanks for your reply,

On every page in the topmenubar when choosing the English language.
the menu keeps on showing the dutch menu... you can see the screenshot

I do not understand because the menus are synchronized.

Do you have any idea?
Thanks in advance.

Joost

Scherm­afbeelding 2024-12-02 om 22.00.46.png
December 3, 2024 at 4:18 pm #16472976

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi Joost,

I can see it, it all looks correct based on the setting. Could you please provide a duplicator copy for further debugging? This way, we can test and isolate this locally to find why it's caused.

Thank You!

Best Regards,
Marcel

December 4, 2024 at 9:20 am #16475322

Marcel
Supporter

Languages: English (English ) German (Deutsch )

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

Hi Joost,

this only happens with Divi. There are two identical Divi templates defined for the header. The one in use has the ID 4116 (wp-admin/post.php?post=4116&action=edit&lang=nl). In this template, the Dutch menu "DE Trommel Hoofdmenu" is set up correctly.

When I switch to English, the template with ID 7592 is loaded (wp-admin/post.php?post=7593&action=edit&lang=en&admin_bar=1).

The issue is that the menu doesn’t update as expected; it still loads the Dutch menu. Once I manually select "DE Trommel - Hoofdmenu - English," the correct menu appears. You can switch the language using the top-bar language switcher, or by directly accessing the URL and selecting the appropriate menu within the Divi template.

Best regards,
Marcel

en-menu.png