Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 20 replies, has 1 voice.

Last updated by Andreas W. 2 days, 13 hours ago.

Assisted by: Andreas W..

Author Posts
April 29, 2025 at 8:06 am #16977626

gianpieroV-2

Background of the issue:
I am trying to resolve an issue with the WPML plugin on my site hidden link. The categories of the filter are not translated, and there is a message in the backend indicating that the taxonomy is out of sync. I am unable to update these taxonomy terms as there is no clickable element. hidden link
hidden link

Symptoms:
The categories of the filter are not translated, and there is a message in the backend stating that the taxonomy is out of sync. I cannot update these taxonomy terms due to the absence of a clickable element.

Questions:
How can I fix the issue where the categories of the filter are not translated?
What steps should I take to resolve the taxonomy out of sync message?
How can I update the taxonomy terms when there is no clickable element?

April 30, 2025 at 6:09 pm #16985128

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Welcome to the WPML support forum. Before passing this thread to my colleague, I would like to share some suggestions and possible solutions for the issues you mentioned.

Please try the following troubleshooting steps after a full site backup{mandatory} and make sure the issue exists or not.

1) Upgrade to the latest version of WPML (4.7.4 series). You may have to visit Plugins>>Add New>>Commercial tab and click on the *Check for updates* button to get the WPML automatic upgrade links of the latest version. This step will help us refresh the installer caches.

2) Go to WPML>>Support page, click on the Troubleshooting link (blue link in the middle of the page)

3) On the Troubleshooting page, please click on the following options of the *Clean up* section. Wait for confirmation of processing after each one.

- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Fix WPML tables collation
- Assign translation status to duplicated content
- Fix terms count
- Fix post type assignment
- Cleanup and optimize string tables

4) Clear all types of caches

Also, please visit WPML>>Taxonomy Translation, choose the hierarchical taxonomies like Categories and Product Categories, then visit the *Hierarchy Synchronization* tab and sync the terms.

--
Thanks!

Bigul

April 30, 2025 at 7:26 pm #16985210

gianpieroV-2

Hi we did everything you have mentioned. but the problem is still there. Also a new problem occured as there is suddenly a duplicate post:
hidden link
hidden link
hidden link duplicate posts.
and still no filters..hidden link

May 2, 2025 at 9:45 am #16988894

gianpieroV-2

It is really important that we resolve this issue asap. Please assist.

May 3, 2025 at 3:55 am #16991339

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

According to the source code of your blog page, you are using Elementor Shortcode Widgets to display the category filters and the posts.

Could you please provide me with the shortcode and the plugin that is associated with it?

Is this coming from the plugin "Blog Filter Premium"?

If so, do you think that the issue will be replicable using the free version: https://wordpress.org/plugins/blog-filter/

I can offer in this case a WPML test site on which you can install the plugin so that we can run some tests.

Let me know if this will be possible.

Best regards
Andreas

May 5, 2025 at 8:39 am #16995239

gianpieroV-2

Hi,

Herewith the shortcode that is used on the page where the problem occurs:

[AWL-BlogFilter blog_fixed_grid="fixgrid" blog_template="template1" blog_col_large_desktops="col-lg-4" blog_col_desktops="col-md-4" blog_col_tablets="col-sm-6" blog_col_phones="col-xs-12" blog_image="yes" blog_image_hover_effect="hover3" blog_image_quality="medium" blog_title="yes" blog_title_font_size="25" blog_title_color="#000" blog_desc_characters="100" blog_desc_font_size="14" blog_desc_color="#a4a6ac" blog_desc_box_color="#EDEEF0" blog_read_more="yes" blog_read_more_text="Read More" blog_tags="yes" blog_comments_count="yes" blog_order_by="date" blog_order="DESC" blog_filter_order_by="title" blog_filter_order="ASC" blog_thumb_hover="yes" blog_thumb_spac="5" blog_pagination_LoadMore_color="#58BBEE" blog_load_more="undefined" blog_pagination_LoadMore_color="#58BBEE" blog_load_more="yes" blog_per_page_and_init_load="6" blog_on_load_scroll="6" blog_filters="yes" blog_filter_all="yes" blog_all_text="All" blog_filtering="blog_category" blog_buttons_color="#333333" selected_categories="18,19" exclude_categories="" default_cat_filter="none" custom-css=" " ]

this is the plugin: Blog Filter Premium
Blog Filter For WordPress Blog With Multiple Filters
Version 5.3.6 | By A WP Life

Custom Post Carousels with Owl
Easily add any post type post as a custom post carousel with Owl Carousel 2. Works with any cusotm post type, WooCommerce Products, Featured Products, FAQ, etc.

Version 1.4.11 | By Howard Ehrenberg

i dont know if the issue can be replicable on the free version tbh.
also i can provide you the login of the website to check?
Pls let me know asap.

Best regards,
Martijn

May 6, 2025 at 11:28 pm #17003890

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Please go to WPML > Settings > Custom XML Configuration (tab), copy & paste this config and save it:

<wpml-config>
    <shortcodes>
        <shortcode>
          <tag>AWL-BlogFilter</tag>
            <attributes>
                <attribute>blog_read_more_text</attribute>                           
            </attributes>
        </shortcode>
    </shortcodes>
</wpml-config>

Now, go to your page, edit the Blog Filter Widget Read more text, save the page, and open the WPML Translation Editor.

You should now be able to translate the "Read more" test.

When it comes to the categories, the shortcode uses:

selected_categories="18,19"
exclude_categories=""

This means, the categories with the IDs 18 and 19 are selected. In any second language those categories would have different IDs.

Usually, the author of the plugin would need to implement WPML compatilbity code to make this work.

The only workaround I can offer, is to provide a snippet that will allow to translate numbers inside the Advanced Translation Editor, so that you can translate those IDs.

You only need to save the following snippet to the functions.php file of a Child Theme or a Code Snippet Plugin and adapt the XML config:

/**
 * Allow translating numbers
 * @see https://wpml.org/forums/topic/wpbakery-post-grid-element-exclude-from-filter-list-category-reappears
 */
function wpmlsupp_7499_allow_translating_numbers( $is_translatable, $job_translate ) {
    $data = $job_translate['field_data'];
	if ( 'base64' === $job_translate['field_format'] ) {
		$data = base64_decode( $data );
	}
    if ( is_numeric( $data ) ) {
    	return true;
    }
    return $is_translatable;
}
add_filter( 'wpml_tm_job_field_is_translatable', 'wpmlsupp_7499_allow_translating_numbers', 10, 2 );

Adjusted XML config:

<wpml-config>
    <shortcodes>
        <shortcode>
          <tag>AWL-BlogFilter</tag>
            <attributes>
                <attribute>blog_read_more_text</attribute> 
                <attribute>selected_categories </attribute>
                <attribute>exclude_categories</attribute>                         
            </attributes>
        </shortcode>
    </shortcodes>
</wpml-config>
May 7, 2025 at 9:23 am #17005269

gianpieroV-2

Hi,

the workaround is not working as
1. the xml code is giving an error: hidden link

when i change it to a working xml:
<wpml-config>
<shortcodes>
<shortcode>
<tag>AWL-BlogFilter</tag>
<attributes>
<attribute>blog_read_more_text</attribute>
</attributes>
</shortcode>
</shortcodes>
</wpml-config>

I am not sure if this is still is what you want to achieve?

When i save it and after i have added the code to the functions.php there are no translatable tags in the editor: hidden link

May 7, 2025 at 3:36 pm #17007605

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

My apologies, the correct config indeed would be:

<wpml-config>
    <shortcodes>
        <shortcode>
          <tag>AWL-BlogFilter</tag>
            <attributes>
                <attribute>blog_read_more_text</attribute> 
                <attribute>selected_categories</attribute>
                <attribute>exclude_categories</attribute>                         
            </attributes>
        </shortcode>
    </shortcodes>
</wpml-config>
May 9, 2025 at 7:20 am #17014795

gianpieroV-2

I have changed the tag as you wrote. but its not working. The read more text is not visible and although i have added the functions . php code: hidden link

and the tag: hidden link
outcome is no translatable field: hidden link

can you login and check to solve the issue?
also the in russian language there are still duplicate posts visible as a bug occurs:
hidden link
hidden link

Pls asap.

May 9, 2025 at 6:27 pm #17017671

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I would like to request temporary access (wp-admin and FTP) to the website to investigate the issue further.

You can find the required fields below the comments section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.

IMPORTANT
Please be sure to back up your website and database before granting us access.
If you can't see the "wp-admin / FTP" fields, your post and website credentials will be set to "PUBLIC." DO NOT publish the data unless you see the required wp-admin / FTP fields.

The private reply form looks like this:
hidden link

Click "I still need assistance" the next time you reply.

Video:
hidden link

Please note that we are required to request this information individually on each ticket. We are not permitted to access any credentials that were not specifically submitted on this ticket using the private response form.

Best regards,
Andreas

May 13, 2025 at 1:02 pm #17027771

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

The config and code snippet appear to work.

On your website, the shortcode for the Blog Filter includes the categories with the following IDs:

"48, 430, 40, 49,39" 

You need to search for the IDs and translate them with the IDs of the translated categories.

IDs.jpg
May 14, 2025 at 7:52 am #17030697

gianpieroV-2

Hi,

I have applied the translation dutch categorie ID. hidden link
Although there is no ''all'' ID?! But it didnt work. The outcome is that there is still no filter by subject: hidden link
hidden link
also there is still a double post in the Russian translation of news:
hidden link
hidden link

Please check if we can solve it somehow. thanks

May 15, 2025 at 12:08 am #17034586

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

In that case, I'd be happy to provide a WPML test site where we can replicate the issue and forward it internally to our compatibility team.

However, you would need to provide the latest version of the "Blog Filter Premium" plugin and it may be necessary to also activate Elementor PRO.

Would that be possible?

If so, please let me know, and I'll send you a sign-up link to a test site.

May 19, 2025 at 8:53 am #17047270

gianpieroV-2

Hi, Yes that is possible. Please sent me the link so we can provide this. thanks