Resolved by author
Overview of the issue
There are currently 2 open issues with Crocoblock JetSmartFilters plugin:
- The Search filter label is not showing its translation
- The Visual filter is not showing at all on the translated page
Workaround
For both issues we have workarounds that have been shared with the author.
For the Search filter label issue:
- Make a full backup of your site before proceeding.
- Open your /wp-content/plugins/jet-smart-filters/includes/widgets/search.php file.
- Just after line 897 and before line 899 add the following:
if ( class_exists('sitepress') ) { $settings['filter_id'] = apply_filters('wpml_object_id', $settings['filter_id'], 'post', true); }
- The Search filter label translation should be visible now.
For the Visual filter issue:
- Go to WPML → Settings → Custom Fields Translation and click Show system fields.
- Make the custom field _source_color_image_input translatable.
- Go back to your filter and add a small change on it so its translation needs to be updated.
- Switch to the WordPress editor and open the filter translation.
- Add the categories manually.
Hi,
In the meantime the problem still exists or is back again. Also the fix that is provided above can not be applied anymore because the code in the meantime has changed. Is there a different way or new way we can create a workaround? Crocoblock don’t think there is an issue and don’t want to fix it.
Thanks a lot!
Can you please open a support thread so we can investigate your problem better?
https://wpml.org/forums/forum/english-support/
This will allow us to figure out whats going on, provide a new workaround and update the errata.
Thanks!