Skip Navigation

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

Problem:
If you're using Elementor and JetSmart Filter to display content on a page and notice that custom fields such as 'departure date' and 'performance index' revert to the original language (French) when filters are applied or when navigating to the next page, this issue might be familiar to you.
Solution:
We recommend making a full backup of your website before proceeding with any changes. First, ensure that the page and its translations are fully published. Then, adjust the settings of your filters from 'Ajax' to 'Page reload'. After making this change, update the translation of the page. If the issue persists, you might need to translate the page using a different method, which can be found here: Using Different Translation Editors for Different Pages.
Please try these steps and let us know if they resolve the issue. If not, we will escalate this to our second-tier support.

Note that this solution might be outdated or not applicable to your specific case. 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 problem persists, please 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.

Tagged: 

This topic contains 2 replies, has 0 voices.

Last updated by alexiaC-4 2 months ago.

Assisted by: Otto.

Author Posts
April 24, 2025 at 3:55 pm #16965349

alexiaC-4

Background of the issue:
I'm using a loop to display challengers on a page using Elementor and JetSmart Filter. The page in the translated language, English, works fine when opening the listing page. However, when I apply a filter or go to the next page, some elements of the loop, specifically custom fields, appear in French, which is the original language. The issue can be seen on this page: hidden link

Symptoms:
Custom fields such as 'departure date' and 'performance index' appear in French instead of the selected language when filters are applied or when navigating to the next page in the Elementor loop.

Questions:
Why do custom fields revert to the original language when filters are applied?
How can I ensure custom fields remain in the selected language when using JetSmart Filter?

April 25, 2025 at 11:56 am #16968417

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

There was a similar problem a while ago, but it should be solved now:
https://wpml.org/errata/jetsmartfilters-smart-filters-custom-fields-are-not-translated-in-secondary-languages/

How are you creating the custom fields? Using a plugin? Custom code? How did you translate the labels?

I suggest you try this to help us identify if it might be a conflict with another plugin or theme that is causing the problem.
**IMPORTANT:** Please try this in a staging environment or at least with a backup of your site files and database before continuing.
Disable all plugins except Elementor, JetSmart Filters, any other needed to replicate the problem and WPML-related, and temporarily change the theme to a default WordPress such as Twenty Twenty-five.
Is the issue resolved with these settings? If so, please reactivate one by one to see which conflicts.

Best Regards,
Otto

April 25, 2025 at 12:55 pm #16968649

alexiaC-4

Hi Otto,

Thanks for your answer, it's not a plugin compatibility issue, I already tried this. And in the link you mention custom fields are not translated at all, in my case they are translated, until the filter or pagination applies, and then there are not translated anymore.

Custom fields are created inside the custom post type "Tourmagne", hereis an example of post with custom post fields:
hidden link

The labels of the custom fields are translated in the loop #922 and you can see the translation here:
hidden link

I guess you will need WordPress Admin access to consult it, I will wait that you send the private request for it.

Thanks

April 25, 2025 at 2:24 pm #16969094

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks for the explanation.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue.
It would be better to a testing site where the issue is replicated.

The information you will enter is private which means only you and I can see and have access to it.
Maybe I'll need to replicate your site locally. For this, I'll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site.
This will allow me to create a copy of your site and your content.
Once the problem is resolved I will delete the local site.

**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.

Best Regards,
Otto

April 28, 2025 at 3:30 pm #16975679

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks Alexia.

Before digging deeper, can you please update JetSmartFilters to its latest version (3.6.5) and confirm the issue persists?

Best Regards,
Otto

April 30, 2025 at 2:11 pm #16984400

alexiaC-4

Hi Otto, I just upgraded to the latest version of Jet Smart Filter and the problem persists. Can you have a look? Thanks

April 30, 2025 at 3:55 pm #16984886

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks.

I couldn't find a solution, but I found a workaround that may help while I escalate the issue to our second-tier support.

❌ Please make a full website backup before proceeding ❌

First, review the translation of the page and publish it. Then set the filters to "Page reload" instead of Ajax. Update the translation after. If this does not work, you'll also need to translate the page this way:
https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/

Please let me know if this works for you, and then I'll escalate our second-tier support.

Best Regards,
Otto

April 30, 2025 at 5:10 pm #16985001

alexiaC-4

Hi Otto, thanks for this workaround. I works fine for all the filter except for the filter by year of departure (last one), that now enters in a loop and recharge the page every second (that seems to apply to all languages). Do you know why it's happening?
Also, when I filter by year in translated languages, the filter doesn't work properly, even if I did duplicate the content to English and German (we don't want to translate it). It seems that even duplicated the filter doesn't apply in the other language (I can open another ticket for that if needed)
Thanks for your help.

April 30, 2025 at 6:01 pm #16985109

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

I am glad we are moving forward.

We will need a new ticket for this new issue, but I'll share a few ideas to test before you do it.

First, as it only happens in the default language, I'd check if the issue persists with WPML deactivated.

If it doesn't, please check the screenshot attached. I think those fields need to be translatable (or at least "copy once"). You'll need to click on "show system fields" and use the search box to locate them. And you'll need to update the post and its translation so it takes effect.

If none of these help, please open a new ticket and we will take a look.

Best Regards,
Otto

CleanShot 2025-04-30 at 14.17.05@2x.png
April 30, 2025 at 7:20 pm #16985208

alexiaC-4

Thanks Otto, it worked!
Please keep me updated when the team find a solution for the translation with Ajax so I can switch back to Ajax.
Have a great evening!