Skip to content Skip to sidebar

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

Problem:

The client was experiencing issues with translated filters on an English archive page of a site built with JetEngine and WPML. The filters for 'Daypart', 'Age', 'Course Duration', and 'Teacher' showed incorrect values, missing options, or not functioning correctly. Despite setting the translation preferences and manually translating option labels, the filters either displayed outdated values or returned no results.

Solution:

We recommended the following steps to resolve the issues:

1. Rename all custom field IDs to ensure uniqueness and end them with '_course'.
2. Update the filters’ Query Variables to match the new field IDs.
3. Set all field translation methods to 'Copy' (not 'Translate') in WPML → Settings → Custom Fields Translation.
4. Use Dynamic Fields to output label instead of value.
5. Translate option values via WPML → String Translation.
6. Enable 'Get Choices from Field Data' with JetEngine source to fix display issues, though this might not resolve filtering problems.
7. Manually resave each course in English to ensure filters return correct results.
8. For the 'Teacher' filter, change the Data Source from Posts to Custom Fields and set the Query Variable to 'docent-naam_course'.

If these steps do not resolve the issues or if new issues arise, we 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 for further assistance.

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

Last updated by Bigul 3 months, 1 week ago.

Assisted by: Bigul.

Author Posts
June 12, 2025 at 4:31 pm #17130906

Bigul

Hi Jeffrey,

Thank you for the updates. Please check the live site after clearing all types of caches. The Teacher filter appears to be working as expected now. I updated the filter in the Dutch language, which also applied the changes to the English version since it is a duplicate of the Dutch filter.

Refer to this screencast for more details: hidden link

--
Thanks!

Bigul

June 16, 2025 at 9:21 am #17137646
jeffreyB-17

Perfect, that filter seems to work. Now one more thing:

When I'm on the English courses page (hidden link) and I filter on an age, the age on the listing is in Dutch. That should be in English like the filter of course. Why is that?

Same applies for 'Daytime' and 'Evening'. They appear in Dutch as well while it has to be in English of course, just like the filter.

See attached images for what I mean.

New threads created by Bigul and linked to this one are listed below:

https://wpml.org/forums/topic/listing-strings-are-not-showing-the-translation/

Scherm_afbeelding 2025-06-16 om 11.19.28.jpg
Scherm_afbeelding 2025-06-16 om 11.17.20.jpg
June 16, 2025 at 4:30 pm #17139913

Bigul

Hi Jeffrey,

Thank you for the feedback. I have created a separate ticket for this for easier tracking and will get back to you as soon as possible via the new ticket. Please wait.

--
Thanks!

Bigul