Skip to content Skip to sidebar

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

Last updated by Osama Mersal 1 year, 11 months ago.

Assisted by: Osama Mersal.

Author Posts
September 15, 2023 at 5:55 pm #14405139

gabrielR-17

I am trying to: I have a problem with the translation of JetSmartFilters. After translating the filters into Spanish, which were initially created in Portuguese, the filters are displayed correctly in the frontend, but do not work correctly.

I have a product page in Portuguese using Jet engine and Jet Smart filter, and I translated this page into Spanish using WPML, all my translations worked correctly, but my filter in Spanish when activated shows the products in Portuguese, but as I am on a page in Spanish I need it to only show products in Spanish.

Link to a page where the issue can be seen: hidden link

I expected to see: When my filter is active, only see products in Spanish

Instead, I got: When my filter is active, the products appear in Portuguese, but I need the ones in Spanish to appear

Video showing the error: hidden link

September 17, 2023 at 9:27 am #14407923

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

1) First of all, sorry for the late reply due to a higher workload. Please go to WPML-> Settings-> Post Type Translation section, and set the "Products" post type to "Translatable - Show Only Translated Items".

After that, please clear your site's cache and check the issue.

2) Could you please share your Debug information with me?
You can read a detailed explanation about it here. (http://wpml.org/faq/provide-debug-information-faster-support)
The debug info will give me a lot of information about how your site is configured.

Best regards,
Osama

September 18, 2023 at 12:04 pm #14411677

gabrielR-17

The problem shown in the video still persists.

September 18, 2023 at 12:06 pm #14411691

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

1) Thakns for your update. I would need to look closely 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 can access it.

❌ Please backup your database and website ❌

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

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

2) It's not related to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line:

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M');

Best regards,
Osama

September 18, 2023 at 2:36 pm #14413395

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for the access details. Could you please make sure that the provided account has Admin capabilities? I can't see WPML, JetEngine, or sittings in the right admin bar. (Kindly check the attached screenshot)

Best regards,
Osama

2023-09-18_17-34-38.jpg
September 18, 2023 at 2:44 pm #14413551

gabrielR-17

Click here

Screenshot_2.jpg
September 18, 2023 at 2:50 pm #14413591

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for your explanation. I've enabled the "Language filtering for AJAX operations" option in WPML-> Languages.

Would you please check if the filters work correctly? (hidden link)

Best regards,

September 18, 2023 at 4:42 pm #14414193

gabrielR-17

Thank you very much, it really worked!! Have a great day!!

September 18, 2023 at 4:55 pm #14414339

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

It's great to hear that the issue is fixed 🙂 . Please don't hesitate to open a new ticket if you face any other issues. We are always happy to help you.

Have a great day!

Best regards,