This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an issue where the translated taxonomy terms are not showing on the front end when the Dynamic Visibility feature by Jet Engine is enabled, although they appear correctly when the feature is disabled.
Solution: We recommend the following steps to ensure that the Dynamic Visibility feature works correctly with translated taxonomy terms in WPML:
1. Navigate to WPML -> Settings -> Custom XML Configuration tab.
2. Add the following code:
3. Save the changes.
4. Go to the page and edit in the default language, make a minor change (like adding a dot or word), and save.
5. Update the translation.
6. In the translation editor, locate the new fields with the name "jdev_value" and translate these as the names of these taxonomies.
7. Complete the translation to 100% and check the frontend.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable 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.
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 have a listing grid from Jet Engine that has a few buttons with the Dynamic Visibility feature enabled. These buttons are shown according to the taxonomy selected, which includes experiences divided into ACTIVITY, TOUR, and MEAL. They have different colors and are displayed based on the actual taxonomy for each post. These are shown correctly on the English page (base language) but not in Spanish. The terms are translated. I have translated the terms in the Taxonomy translation within WPML. When I edit the translated post type (experience), it shows the taxonomy correctly marked. The taxonomy hierarchy is already synchronized.
Symptoms:
The translated taxonomy terms are not showing on the front end when the Dynamic Visibility feature by Jet Engine is enabled. They show correctly when the feature is disabled.
Questions:
Why are the translated taxonomy terms not showing on the front end when the Dynamic Visibility feature by Jet Engine is enabled?
How can I ensure that the Dynamic Visibility feature works correctly with translated taxonomy terms in WPML?
Reference to our recent chat, I've created a fresh sandbox site at hidden link (one-click login).
Here you can find WPML plugins active but remember to configure as needed.
You can use this plugin https://wordpress.org/plugins/download-plugins-dashboard/ to enable downloadable links for plugins and themes in Plugins and Themes pages respectively. Then you can upload in the sandbox via Plugins/Themes -> Add New.
A minimal setup to reproduce the issue is necessary. This way we can see if this only happens on your server or it's a global problem. Then I can also request expert insights from our 2nd tier team, to investigate the issue.
Please DO NOT MIGRATE YOUR SITE HERE, but take your time to create and reproduce the problem and reply when the site is ready. Once you are able to reproduce the issue, please write down detailed steps about how one can reproduce the issue on another fresh installation.
Thanks. I have installed the main plugins (elementor and crocoblock). You can check this page: hidden link. You can see the buttons displaying correctly in English, and only 1 in Spanish (on my site, none). This is something done within the listing component of jet engine, and it's a conditional configuration. The words MEAL, TOUR and ACTIVITY are included manually within the configuration, and when I review the listing in Spanish, this words remain in English, so probably that's causing the issue (I do have other issues on the website, like this page hidden link where the hotel's listing is not showing the correct layout).
Thank you for the updates, I am working on it and 'll get back to you accordingly.
For the other question/issue, I recommend opening a separate ticket because as per forum policy we can only handle one issue per ticket. So you can get more to the point help, without mixing up several issues in one long ticket.
- Save.
- Go to the page and edit in default language.
- Make a little change in the content like a dot or word and save.
- Update the translation.
- In the translation editor, find the new fields with name of "jdev_value" (see attached).
- Translate these as the names of these taxonomies, like the same names you did for Spanish in Experiences -> Type of experience.
- Complete the translation to 100%.
Thanks. I applied your code, and it's showing it on the first 3 elements, but not the rest. I had a previous adjustment from WPML for another issue that was not working properly with the jet popup, so I had another code. Is it ok the way I wrote these 2 together?:
Yes that's the correct way, since it is the same widget.
Can you reproduce this issue in the same sandbox? I mean by adding that additional XML, as well as, the same feature/function/element needed for the existing one too.
But on the staging site, I added this new XML code and did the same of modifying something, saving, updating the translation, and still only shows 3 (meal). I only have elementor (base and pro), wpml and jet engine (with the dynamic addon) active, and the theme is 2024: hidden link