The attribute slug is not translated in the URL when switching languages
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from ValtronEU on July 24, 2024, 12:36I am using the HUSKY Product Filter plugin (v3.3.6.1) on my WordPress site (v6.6.1) with WooCommerce (v8.8.5) and WPML Multilingual CMS (v4.6.12). When I select the filter EINBAUGRÖßE > 2-DIN in German, the URL is https://www.valtron.de/k/autoradios/f/einbaugroesse-2-din/. When I select the same filter HEAD UNIT SIZE > Double Din in English, the URL is https://www.valtron.de/en/c/car-stereos/f/einbaugroesse-double-din/ instead of https://www.valtron.de/en/c/car-stereos/f/head-unit-size-double-din/.
The attribute terms are translated correctly, but the attribute slug itself is not translated.
I am using the HUSKY Product Filter plugin (v3.3.6.1) on my WordPress site (v6.6.1) with WooCommerce (v8.8.5) and WPML Multilingual CMS (v4.6.12). When I select the filter EINBAUGRÖßE > 2-DIN in German, the URL is https://www.valtron.de/k/autoradios/f/einbaugroesse-2-din/. When I select the same filter HEAD UNIT SIZE > Double Din in English, the URL is https://www.valtron.de/en/c/car-stereos/f/einbaugroesse-double-din/ instead of https://www.valtron.de/en/c/car-stereos/f/head-unit-size-double-din/.
The attribute terms are translated correctly, but the attribute slug itself is not translated.
Quote from Pablo Borysenco on July 25, 2024, 09:24Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png and ftp+wp-admin access - https://share.pluginus.net/image/i20230222134615.png I will check it
Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png and ftp+wp-admin access - https://share.pluginus.net/image/i20230222134615.png I will check it
Quote from ValtronEU on July 25, 2024, 21:28Hello!
I've added all required data.
Hello!
I've added all required data.
Quote from Pablo Borysenco on July 26, 2024, 10:03Hello
Everything works correctly. The search query consists of an attribute slug einbaugroesse and a term slug double-din. These are the values by which the filter will search for products in the database.
in fact, your database does not have the head-unit-size attributes - https://share.pluginus.net/image/i20240726105838.png - and searching by head-unit-size attribute will always return 0 products
Hello
Everything works correctly. The search query consists of an attribute slug einbaugroesse and a term slug double-din. These are the values by which the filter will search for products in the database.
in fact, your database does not have the head-unit-size attributes - https://share.pluginus.net/image/i20240726105838.png - and searching by head-unit-size attribute will always return 0 products
Quote from ValtronEU on July 26, 2024, 11:35Hello
The term slug works correctly. It use 2-din slug in German version and its translation double-din in English version.
So, why does the filter use attribute slug einbaugroesse in English version and not its translated version head-unit-size. The WPML team reported that the attribute and its terms were translated correctly. Also on WPML site says that WOOF WooCommerce Products Filter is fully compatible with WPML.
Hello
The term slug works correctly. It use 2-din slug in German version and its translation double-din in English version.

So, why does the filter use attribute slug einbaugroesse in English version and not its translated version head-unit-size. The WPML team reported that the attribute and its terms were translated correctly. Also on WPML site says that WOOF WooCommerce Products Filter is fully compatible with WPML.

Quote from Pablo Borysenco on July 26, 2024, 12:54Hello
This is not really related to my plugin. I mean the principles of storing data in wordpress.
The term slug works correctly. It use 2-din slug in German version and its translation double-din in English version. - yes of course! because WPML creates these term slugs in the database. And in fact, products exist with such attributes. But unfortunately this is not the case for the taxonomy slug.
You can easily check this. Disable my plugin and try these link
https://www.valtron.de/en/c/car-stereos/?pa_head-unit-size=double-din - the result is not correct
https://www.valtron.de/en/c/car-stereos/?pa_einbaugroesse=double-din - correct result
Please give me a link to the page where you edit the attribute slug
Hello
This is not really related to my plugin. I mean the principles of storing data in wordpress.
The term slug works correctly. It use 2-din slug in German version and its translation double-din in English version. - yes of course! because WPML creates these term slugs in the database. And in fact, products exist with such attributes. But unfortunately this is not the case for the taxonomy slug.
You can easily check this. Disable my plugin and try these link
https://www.valtron.de/en/c/car-stereos/?pa_head-unit-size=double-din - the result is not correct
https://www.valtron.de/en/c/car-stereos/?pa_einbaugroesse=double-din - correct result
Please give me a link to the page where you edit the attribute slug
Quote from ValtronEU on July 26, 2024, 14:45Yes, you are right. I've checked like you said and result is the same.
I'm translating attribute slug here: in menu WPML > String translation > Domain to translate: Wordpress
Yes, you are right. I've checked like you said and result is the same.
I'm translating attribute slug here: in menu WPML > String translation > Domain to translate: Wordpress
Quote from Pablo Borysenco on July 29, 2024, 13:50Hello
Also pay attention to the links to attributes - https://share.pluginus.net/image/i20240729144614.png - result - https://share.pluginus.net/image/i20240729144642.png
I can try to rework the filter links. This will simulate translation. But it will not solve the problems with attribute links.
Hello
Also pay attention to the links to attributes - https://share.pluginus.net/image/i20240729144614.png - result - https://share.pluginus.net/image/i20240729144642.png
I can try to rework the filter links. This will simulate translation. But it will not solve the problems with attribute links.
Quote from ValtronEU on July 29, 2024, 14:36Hello
I don't know what activates these attribute links. When I deactivate them. After some time they get activated again. If you know how to fix this, I would appreciate it.
What do you mean by the phrase "simulate translation"?
Hello
I don't know what activates these attribute links. When I deactivate them. After some time they get activated again. If you know how to fix this, I would appreciate it.
What do you mean by the phrase"simulate translation"?
Quote from Pablo Borysenco on July 29, 2024, 18:21read this - https://products-filter.com/hook/woof_init_archive_by_default
What do you mean by the phrase"simulate translation"? - The filter will replace the slug in the search query (the URL you see) and during query processing will replace the slug with the original for a correct search.
read this - https://products-filter.com/hook/woof_init_archive_by_default
What do you mean by the phrase"simulate translation"? - The filter will replace the slug in the search query (the URL you see) and during query processing will replace the slug with the original for a correct search.
Quote from ValtronEU on July 29, 2024, 18:59read this - https://products-filter.com/hook/woof_init_archive_by_default
Thank you very much for this hook.
Now about replacing the slug. Can we implement the filter to see how it works? And if we implement this filter what about SEO will it works fine?
read this - https://products-filter.com/hook/woof_init_archive_by_default
Thank you very much for this hook.
Now about replacing the slug. Can we implement the filter to see how it works? And if we implement this filter what about SEO will it works fine?
Quote from Pablo Borysenco on July 30, 2024, 11:03Hello
Can we implement the filter to see how it works? - Yes. Please do a test
And if we implement this filter what about SEO will it works fine? - Unfortunately, I don't know how this affects the site's SEO.
Hello
Can we implement the filter to see how it works? - Yes. Please do a test
And if we implement this filter what about SEO will it works fine? - Unfortunately, I don't know how this affects the site's SEO.
Quote from ValtronEU on August 1, 2024, 11:52Hello
I've tested new implementation of filters and I don't know how you did it, but all works like a sharm. Filter SEO also works correctly.
Thank you))
Hello
I've tested new implementation of filters and I don't know how you did it, but all works like a sharm. Filter SEO also works correctly.
Thank you))
Quote from Pablo Borysenco on August 1, 2024, 13:23Hello
Ok! Great!
This will only work with SEO filter - https://share.pluginus.net/image/i20240801141010.png
This fix will be included in the new version of the plugin.
Hello
Ok! Great!
This will only work with SEO filter - https://share.pluginus.net/image/i20240801141010.png
This fix will be included in the new version of the plugin.