Skip to content Skip to sidebar

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

Problem:
You are trying to translate over 1,300 attributes on your WooCommerce site using WPML, but only the first 1,000 attributes are displayed in WooCommerce Multilingual & Multicurrency. When filtering for untranslated attributes, no results are shown.
Solution:
We recommend you try adding the following line of code to your site's

wp-config.php

file to increase the limit of displayed attributes:

define('WPML_TAXONOMY_TRANSLATION_MAX_TERMS_RESULTS_SET', 1500);

For more details, please refer to our documentation on WPML constants here: WPML Constants Documentation.

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. Should you need further assistance, please do not hesitate to 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.

This topic contains 1 reply, has 2 voices.

Last updated by Bruno Kos 1 year, 9 months ago.

Assisted by: Bruno Kos.

Author Posts
July 16, 2024 at 10:21 am #15959740

piotrM-40

Background of the issue:
I am trying to translate over 1,300 attributes on my WooCommerce site hidden link using WPML. The problem occurs in WooCommerce Multilingual & Multicurrency.

Symptoms:
When attempting to translate attributes, only the first 1,000 are displayed. Filtering on untranslated attributes displays no results.

Questions:
How can I translate the remaining 300 of the 1,300 attributes?

July 16, 2024 at 10:37 am #15959813

Bruno Kos
WPML Supporter since 12/2018

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

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

Hi,

Thank you for contacting WPML support!

Can you try this?

define('WPML_TAXONOMY_TRANSLATION_MAX_TERMS_RESULTS_SET', 1500);

It is about this:
https://wpml.org/documentation/support/wpml-coding-api/wpml-constants/#wpml_taxonomy_translation_max_terms_results_set

Regards,
Bruno Kos

July 16, 2024 at 11:05 am #15960068

piotrM-40

Yes, this solves our problem, thank you very much for the quick answer.