- Status
- Resolved by author
- Related plugin/theme
- JetSmartFilters
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.