Skip Navigation

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

Problem:
You are trying to translate over 300 products from English to Spanish using WPML, but only a few products are displayed in the translation management dashboard.
Solution:
The issue might be due to some database corruption. We recommend making a full backup of your database first. After securing your data, you can try to resolve the issue by running the following SQL command in phpMyAdmin or using WP-CLI:

DELETE pm<br />FROM wp_postmeta pm<br />INNER JOIN wp_posts p ON p.ID = pm.post_id<br />WHERE pm.meta_key = '_wpml_word_count'<br />AND p.post_type = 'product';

Remember to replace 'wp_' with your actual database prefix if it’s not 'wp_'.

If this solution does not apply to your case, or if it seems outdated, 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. If the issue persists, please open a new support ticket.

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 14 replies, has 0 voices.

Last updated by Lauren 3 weeks, 2 days ago.

Assisted by: Lauren.

Author Posts
April 29, 2025 at 4:20 pm #16980235

nethics-sasd

Background of the issue:
I am trying to translate more than 300 products from English to Spanish using WPML. I accessed the translation management dashboard at hidden link to find all the products for translation.

Symptoms:
I expected to see all 300 products available for translation, but only a few products are shown.

Questions:
Why are not all products appearing for translation in the WPML dashboard?
How can I ensure all products are available for translation?

April 29, 2025 at 4:54 pm #16980431

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please make a backup of site files and database before providing us access.

- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

May 5, 2025 at 7:23 pm #16998012

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I'd like to test a few things on your site. Is this a staging site where I can deactivate non WPML plugins and switch to a default theme? Also, please confirm if there is a full backup of the site, as I'd also like to run the steps in WPML -> Support -> Troubleshooting -> Clean Up section. Let me know if it's okay to test these steps on the site you have provided access for. Thanks!

May 6, 2025 at 1:51 pm #17002130

nethics-sasd

Hi Lauren,
I confirm this is a staging site; you can do the test.
I hope to hear from you soon.
Thank you

May 6, 2025 at 9:25 pm #17003679

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Thanks for allowing me to disable plugins. I'm able to get to page 5 now on some of the languages (English and French). When I search by Source Language, I can see over 100 in French, over 100 in English and 75 in Italian. So it looks like the products were created in different source languages, and then translated. In other words, it appears English is not the source language for all products (source means original in this case).

To confirm this, I'd like to access the database and that way I can check the products and sort to see how many source languages are showing there. Is it okay if I install the Adminer plugin to check this?

May 7, 2025 at 7:33 am #17004732

nethics-sasd

Good morning,
I installed Adminer for you.
Please, go ahead with your text.
Have a great day

May 9, 2025 at 5:03 am #17014430

nethics-sasd

Good morning,
Do you have some news?

May 9, 2025 at 6:22 pm #17017663

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I am escalating this ticket to our 2nd tier support for further troubleshooting. In the meantime, I did find that if you search for a product that doesn't show up in the first few pages, it does appear in the translation management dashboard. I know that is not a solution, but hopefully until we find a permanent solution, this can help if there are any priority translations you need to do. I'll update here as soon as I have more information.

May 13, 2025 at 7:04 am #17025342

nethics-sasd

Good morning, do you have any news?

May 16, 2025 at 6:21 pm #17043111

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I have not been able to reproduce this issue in a clean install. I also installed the File Management plugin to test increasing max input vars, but I'm not able to use File Management to edit files (seems like a server restriction). Can you please test increasing max input vars? There are some suggestions on how to do it below. THen, please go to WPML -> Support to confirm that it has been increased more than 1000. If it has not been increased, please ask your hosting provider to increase it for you.

Install and activate a plugin like WP File Manager

Navigate to:
wp-content > themes > your-active-theme-folder

Edit the functions.php file.

Add this code at the bottom:

@ini_set('max_input_vars', '5000');

Save the file and clear any caches (plugin cache, server cache, Cloudflare, etc.).

Please let me know the results.

May 19, 2025 at 6:15 am #17046445

nethics-sasd

Done, now the max_input_vars value is 5000.
I hope to hear from you.
Have a great week

May 19, 2025 at 7:04 am #17046535

nethics-sasd

I have found that some products not aren't in the initial list appear when I search for them.
For example, "STAINLESS STEEL PROTECTIVE GRILLE" is NOT listed, but if I search for it, it shows up.

Could you ask the technical department where I can find the server-side query called by the dashboard via AJAX?
I am a technician, so I would like to understand if there is something wrong with SQL because of my data (unfortunately, I have already activated WP debugging, but it does not show anything).

Screenshot 2025-05-19 alle 08.45.04.png
May 19, 2025 at 7:51 am #17046726

nethics-sasd

ERRATA CORRIGE: the product name is "SPL/23"

Screenshot 2025-05-19 alle 09.50.51.png
May 19, 2025 at 3:29 pm #17049394

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Thanks for the additional screenshots and increasing max input vars. I've escalate this to our 2nd tier support to take a look and will update here as soon as I have more information.

May 19, 2025 at 5:46 pm #17050062

nethics-sasd

Thank you for your valuable colalboration!