[Resolved] WPML no recognizing JetSmartFilter taxonomy
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing issues with JetSmartFilter options not appearing on translated pages of their website. The filters display names but no options, except for filters like 'age' where values are numeric and do not require translation. Solution: 1. Ensure that both the WPML plugin and the JetSmartFilters plugin are updated to the latest versions. Instructions for updating WPML can be found here. 2. Follow the documentation for translating taxonomies with JetEngine, which can be accessed here. 3. Manually adjust the translation for the second language by setting the correct taxonomy and term for each filter. An example of how to do this can be seen here. 4. Select the option to show also empty terms/taxonomy in the filter settings. 5. Ensure that posts are translated into the target language as the filters will not work if there are no posts to display or filter.
If these steps do not resolve the issue, or if the solution seems outdated or irrelevant to your 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 here.
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.
Background of the issue:
I am trying to make the filtering options (JetSmart Filter) appear and work properly on translated languages. The issue can be seen on this page: hidden link
Symptoms:
I see the name of the filters but no options appear, as if WPML didn't recognize the JetSmartFilter taxonomy. The only filter that works is the age, as the values are numbers and they don't need translation. But when an option is translated, it doesn't work.
Questions:
Why are the JetSmartFilter options not appearing on translated pages?
How can I make the translated filter options work properly?
While one of my teammates handles your ticket, I will provide you with initial debugging steps.
Have you attempted to follow the documentation provided below?
hidden link
Please update your WPML plugin and add-ons to the latest version, 4.7.2, to benefit from the latest bug fixes and improvements. This may not necessarily resolve your problem; however, we need to work on the newest code available to troubleshoot the issue best.
You can check the latest released versions under "My Account -> Downloads" on this site. Instructions to update can be found here: http://wpml.org/faq/install-wpml/
If you do not see the updates, you might need to click the Check for updates button in the Plugins → Add New Plugin → Commercial tab.
You need to make sure that the JetSmartFilters plugin is also updated.
Please remember to backup your database before you proceed.
Let us know if the issue persists after an update has been done.
- Please backup the site files and database before providing us access.
- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.
as the documentation says, some of the option might not be picked by WPML translation editor, so you need to edit 2nd language manually and adjustthe needed values.
For one filter example in EN, you need to set the correct taxonomy and term:
- hidden link
I would advise checking all and adjusting if needed all languages.
Hi, thanks for your feedback, I tried but there is no way to select a value in English, the "value" should be "Poet" or "Winner" and I can't select anything, as if it was not related.
I attach screeshots to explain what I mean, showing version in English and in French.
Hi, I managed to add the fields, following the process you explained, but it seems they are not recognized, as no, no "challenger" are found in English. So now the situation is that the filter appears but the filter doesn't work in English.
Thanks,
Alexia
it shows "We didn't find any challenger", since you do not have any in English. Make sure to translate your post in other language you wish to use filter or to show those posts in other language. It can not work since there are no post to show or filter.
Thanks Drazen! We're getting there, I managed to have the challengers appear in translated languages. I still have some issues:
1. Once I apply a filter in English for example, part of the listing looses translation ( only when the filter is applied not before, as you can see in the attached screenshot)
2. The Year of Departure filter doesn't work. When I apply 2024, no challenger appears.
Thanks for your help,
Alexia
New threads created by Dražen and linked to this one are listed below:
1) We limit 1 issue per ticket to keep things clear. This will help other users with similar problems to find solutions when searching the forum.
I have opened a new ticket for you:
- https://wpml.org/forums/topic/split-part-of-the-listing-looses-translation/
2) For year filter I have set 2024 and can see it works fine.
Regards,
Drazen
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.