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.

Sun Mon Tue Wed Thu Fri Sat
10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 - -
16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 - -

Supporter timezone: Asia/Jerusalem (GMT+03:00)

Tagged: 

This topic contains 23 replies, has 3 voices.

Last updated by Christopher Amirian 9 months, 1 week ago.

Assisted by: Itamar.

Author Posts
July 4, 2024 at 12:42 pm

martinK-14

Background of the issue:
We have 3 languages on our site: SK (default), EN, DE. We are using a custom post type 'service'. We buy credits for automatic translation (also used pay as you go) and run automatic translation from Slovak to English and German language.

Symptoms:
Even if all English translations were correct, German translations were not. Some ACF fields were not even created (repeater / dynamic fields) for the German language.

Questions:
Can you please help us find the reason why German translation translates only a few fields and others are ignored? Currently using pay as you go service for translations.

July 4, 2024 at 1:35 pm
July 4, 2024 at 1:38 pm #15892373

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

After the automatic translation process is complete, please check if the fields are translated also into German.

If you need further help please reply to this ticket.

Regards,
Itamar.

July 4, 2024 at 1:45 pm #15892497

martinK-14

Translation into German still not working. Problem still exists. Also notice that titles and slugs in english services are not translated at all.

July 5, 2024 at 6:14 am #15896266

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi, and thanks for trying my suggestion.

I'm writing to let you know that I can continue to check this issue and help you on Sunday.

I appreciate your patience.
Itamar.

July 7, 2024 at 3:46 pm #15907682

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

I get the following message when I try to access your site.

Chyba: Heslo zadané pre používateľské meno wpml je nesprávne.

Please see the attached screenshot.

Please fix this and let me know once I can reaccess your site.

I'm enabling a private message for the next reply.

Thanks,
Itamar.

2024-07-07_18-43-04.jpg
July 7, 2024 at 3:51 pm
July 8, 2024 at 10:57 am #15912418

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Thanks.

It looks like the automatic translation is stuck again. Please see the attached screenshot.

I'm consulting our second-tier supporters about this case. I'll update you here once I have news from our second-tier supporters.

I appreciate your patience.
Itamar.

2024-07-08_13-35-32.jpg
July 12, 2024 at 9:30 am #15941384

martinK-14

Hello, it has been a few days since your last response. Have you found out the reasons why the translations are not being translated correctly or why they are getting stuck? Also, I did not find the attachment you mentioned in your last response. Please let me know the current status. Thank you.

July 14, 2024 at 1:49 pm #15950237

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

I'm sorry it is taking a bit longer. I'm still waiting for some clarifications from our second-tier supporters.

I'll update you here.

Regards,
Itamar.

July 17, 2024 at 9:04 am #15964985

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

In the Advanced Translation Editor Error Logs screen (hidden link), we could see cURL error 28 (it is from July 9). In the message, there is a list of jobs. We can see that the jobs were delivered to the site using our automatic translation server. Therefore, our suspicion is it was a DB issue. Our second-tier supporter suggested sending one of the jobs to translation again. I sent the service - Ošetrenie proti starnutiu pre mužov. I'm unsure if it fixed the problem. We ask you to try WPML's troubleshooting section. Here are the instructions.

1. Take a backup of the DB of your site.

2. Go to WPML -> Support -> Troubleshooting (link)

3. Once on the troubleshooting screen, press the following buttons and check if it helps. Press each button at a time and wait for the process to complete.

- 'Synchronize posts taxonomies' for 'Services'

- 'Clear the cache in WPML'

- 'Remove ghost entries from the translation tables'

- 'Fix element_type collation'

- 'Fix WPML tables collation'

- 'Synchronize local job ids with ATE jobs'

- 'Synchronize translators and translation managers with ATE'

- 'Assign translation status to duplicated content'

- 'Set language information'

- 'Reset languages' Press this button only if you didn't add a custom language!

- 'Fix terms count'

- 'Fix post type assignment for translations'

- 'Cleanup and optimize string tables'

- 'Clear invalid strings'

*** Please make a backup of your database before using this.***

Then please check if it helps.

If it does not help, please let's get back to the initial problem. Can you please specify one Service translation in German where the problem occurs? (missing translation and problem with ACF fields)

Thanks,
Itamar.

July 17, 2024 at 12:13 pm #15966126

martinK-14

I do everythnig mention above, but nothing works. Ošetrenie proti starnutiu pre mužov service still not translated. I don't think that there is problem with DB - at least because SK -> EN translations works fine. Only SK -> DE not working.

I look at hidden link and yes there is cURL err no 28, but dont know why. This could be the reason why it is not working. Also can I find what data are sending or receiving to/from your server? So I can check if data is sending from your servers correctly.

I check the DB and yes there is problem that your query takes very long time. DB is optimized, but your table wp_icl_translate is approx 700MB which is too big. There must be some problem in plugin why it has so many rows (~2 000 000) - and yes I apply your 3 point from previous answer.
The query which takes long is: SELECT SQL_CALC_FOUND_ROWS DISTINCT(s.id) AS string_id, s.language AS string_language, s.string_package_id, s.context, s.gettext_context, s.name, s.value, s.status AS status, s.translation_priority FROM wp_icl_strings s LEFT JOIN wp_icl_string_packages sp ON sp.ID = s.string_package_id
INNER JOIN wp_icl_translate it ON it.field_data_translated = sp.name WHERE 1 AND it.field_type="original_id" AND TRIM(s.value) <> '' ORDER BY string_id DESC LIMIT 0,100;
Also table wp_icl_translation_status looks like have big size (125 MB).

file wpml-string-translation\classes\class-wpml-st-strings.php
object WPML_ST_Strings
method: build_sql_start

It is clearly problem on plugin side.

I need to fix this ASAP because it has been going on for a long time and the client is putting pressure on us. I gave you all the access you need.

Thanks

July 18, 2024 at 6:24 pm #15974165

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi, and thanks for trying my suggestions and adding further information.

I'm sending this information to our second-tier supporters.

Meanwhile, we want to inspect your site's DB. We suspect that the issue is the same as another issue. You can see the ticket with what we suspect is the same problem here.

https://wpml.org/forums/topic/wordpress-database-error-deadlock-found-2/page/2/#post-15296055

We want your approval to install the WP phpMyAdmin plugin to inspect your site's DB.

https://wordpress.org/plugins/wp-phpmyadmin-extension/

Do you allow us to proceed with that?

Alternatively, we can take a copy of your site and check things on the copy of your site. For this, we need your consent to install a plugin like DUplictor or All-in-One WP Migration.

Please let us know which option you would allow us to proceed with.

In any case, please know that we will be able to get back to you early next week.

Regards,
Itamar.

July 18, 2024 at 6:46 pm #15974289

martinK-14

Hi Itamar,

I check this solution https://wpml.org/forums/topic/wordpress-database-error-deadlock-found-2/page/2/#post-15296055 but to be honest I worry if I clear the wp_icl_background_task table. Is it safe?

About the manipulating with DB - yes you have permission to whether install phpmyadmin extension or to use other plugins like AIO WP Migration / Duplicator.

Sincerely
Martin

July 21, 2024 at 5:26 pm #15983584

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi, Martin.

I installed the WP phpMyAdmin plugin, but then I noticed that all the Services posts are translated into German. For example the Ošetrenie proti starnutiu pre mužov service.

hidden link

Please see the attached screenshot.

I also noticed that in WPML -> Translation Management, nothing is stuck. Please see the attached screenshot.

As far as I can see, the problem is solved now.

Can you please confirm this?

Thanks,
Itamar.

german-ok.jpg
2024-07-21_20-25-06.jpg

The topic ‘[Closed] Automation translation not translate all fields for German language’ is closed to new replies.