Skip Navigation

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

Problem:
Trying to translate the filters. All of the attributes are translated, and page and HTML blocks are translated, yet in the French language only the translated Filter button appears, but two filter fields with attributes are not appearing.

Solution:
Use the workaround from the errata here https://wpml.org/errata/woocommerce-6-3-the-new-product-attributes-lookup-table-is-not-populated-for-products-in-secondary-language/ to fix it.

Relevant Documentation:

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 5 replies, has 2 voices.

Last updated by sergejsF 2 years, 7 months ago.

Assisted by: Kor.

Author Posts
April 25, 2022 at 7:02 pm #11091819

sergejsF

Tell us what you are trying to do?
Trying to translate the filters. All of the attributes are translated, and page and HTML blocks are translated, yet in the French language only the translated Filter button appears, but two filter fields with attributes are not appearing.

Is there any documentation that you are following?
It's a standard procedure for translating elements. And the filter itself seems to appear on the shop page, but somehow fields are not appearing

Is there a similar example that we can see?
Not sure about the question. But there are other pages and elements that are translated via the same procedure, like Compare and Wishlist functionality.

What is the link to your site?
hidden link

April 27, 2022 at 5:32 am #11102133

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for contacting WPML support.

I've checked your Website and I'm able to see the issue you had there. It seems you are trying to show a filter per translated attribute, there could be no translated products associated with this attribute, so the filter is not shown.

Please try the following and see if it helps.

- Go to WPML > Settings page. Here, scroll down to the Post Types Translation section and select the "Translatable – use translation if available or fallback to default language" for the Product.

- Then, Go to WPML > Settings page. Here, scroll down to the Taxonomies Translation section and select the "Translatable – use translation if available or fallback to default language option" for your Product Categories, Tags and Attributes.

Ref : https://wpml.org/documentation/related-projects/woocommerce-multilingual/displaying-untranslated-products-in-secondary-languages/

If the issue persists, I would need to take a closer look at your site. So I would need to request temporary access (WP-Admin and FTP) preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed

Your next answer will be private, which means only you and I have access to it.

✙ I would need your permission to de-activate and re-activate Plugins and the Theme and to change configurations on the site if needed. This is also a reason the backup is critical.

While checking your debug information, I noticed that your “WP Memory Limit” PHP limit is below the required 128MB or recommended 256MB as described at: https://wpml.org/home/minimum-requirements/ . Could you please contact your hosting provider and ask them to increase this PHP value for you?

Thanks!

Kor

April 28, 2022 at 9:45 am #11112993

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

hi there,

Thanks for your reply.

I've checked your Website and I'm able to see the issue you had there. This is a known issue and our developers are working on a fix. In the meantime, I used the workaround from this errata https://wpml.org/errata/woocommerce-6-3-the-new-product-attributes-lookup-table-is-not-populated-for-products-in-secondary-language/ to fix it.

It's working fine now as shown in the attached screenshot.

Thanks!

Kor

Screen Shot 2022-04-28 at 5.43.12 PM.png
Screen Shot 2022-04-28 at 5.43.02 PM.png
April 29, 2022 at 1:45 pm #11123043

sergejsF

I did not manage to test it yet. Still thinking about whether to copy your version or do it in the live version.
But do I understand correctly that I need to go through all the products in every language?!
And if yes, do I need to do it every time I add a new product?

April 29, 2022 at 2:33 pm #11123413

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for your reply.

I apologize for the confusion. You need to use the workaround from the errata here https://wpml.org/errata/woocommerce-6-3-the-new-product-attributes-lookup-table-is-not-populated-for-products-in-secondary-language/ to fix it.

Try this, Go to WooCommerce → Settings → Products → Advanced. Uncheck the Enable table usage option. Then, refresh the page and see if it fixes the filter issue. If you need help with this on your production site, let me know and I will set your next reply private or you can just set your reply private and share your Website credentials here.

Thanks!

Kor

May 1, 2022 at 7:26 pm #11128711

sergejsF

My issue is resolved now. Thank you for your help and involvement!