Home›Support›English Support›[Resolved] Split: In the category page, the sidebar filter translation is not visible
[Resolved] Split: In the category page, the sidebar filter translation is not visible
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing issues with sidebar filter translations not appearing on the category page, despite translations being added in the template. Additionally, after translating WooCommerce categories and ACF content, the translated categories in English were missing products present in the original category, displaying 'no product is present for this category' on the frontend. Solution: We reviewed the settings and found that in WPML -> Settings -> Post Types Translation, 'Products (product)' was set to 'Translatable - use translation if available or fallback to default language', and the same setting was applied for 'Product categories (product_cat)'. However, the categories were translated from Arabic to English in WooCommerce -> WooCommerce Multilingual & Multicurrency -> Categories, which caused the filtering issue. To resolve this, we duplicated some products in WPML -> Translation Management, which made the sidebar display the filtering options correctly. We advised the client to duplicate all other products similarly and apply the same changes to other sites. Additionally, we noted that if the product titles and content in Arabic are changed to Arabic in the future, it is crucial to first disconnect the duplicated English products to avoid displaying English products in Arabic.
If this solution does not resolve your issue or seems outdated, 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 further assistance is needed, please open a new support ticket at WPML support forum.
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.
I am facing certain issues regarding the translation
Sites :
hidden link - netherlands hidden link - Saudi Arabia hidden link - france hidden link - Qatar
Where to Check : At the Header, Shop > perfumes / perfumes for men/ perfumes for women/ niche perfumes
Credentials : Same for all websites. as been shared with you in a private message earlier.
1. In the category page, the sidebar filter translation is not visible
I have added the translation inside the template, but it is not showing in the frontend
Sidebar template : Enzian Shop Sidebar
2. Also I had translated the woocommerce categories and the ACF content present in them, but after translation, the translated categories in english is missing the products that are present in the original category.
So in the frontend, 'no product is present for this category' is shown.
Check the attached image for more details.
Link : hidden link
Please do the changes in all the sites and also share the procedure you followed to resolve the above issue..
You need to correct things to make it work as you expect.
You wrote: "I have added the translation inside the template, but it is not showing in the frontend
Sidebar template : Enzian Shop Sidebar"
I searched for 'Enzian Shop Sidebar' in Tempaltes, but I can see that it is not translated. Please see the attached screenshot, Enzian-Shop-Sidebar.jpg.
Please proceed with translating the template. I recommend you review our Elementorguide here.
You also wrote: "...in the frontend, 'no product is present for this category' is shown."
However, when I go to WooCommerce -> WooCommerce Multilingual & Multicurrency, I see that none of the products are translated. Please see the attached screenshot no-products-trans.jpg.
You must translate the products to fix this issue. Please review our guide on working with WooCommerce.
1. In SA and QATAR, I had not done anything regarding the product translation, then how it has automatically translated there and is showing at the frontend ?
2. Please check the Qatar website Shop Sidebar Template. There I have added the translation. But still it is not showing in the frontend.
I checked the Qatar site and fixed this problem. The problem was that in WPML -> Settings -> Post Types Translation, you set 'Products (product)' to 'Translatable
use translation if available or fallback to default language' and for Taxonomy Translation, you set the same also for 'Product categories (product_cat)'. Please see the attached screenshots: cpt-product-trans.jpg and tt-trans.jpg. However, in WooCommerce -> WooCommerce Multilingual & Multicurrency -> Categories, you translated the categories from Arabic to English. Please see the attached screenshot ar-cat-trans.jpg. In such cases, the filtering can not work. This is why nothing showed on the sidebar. You can read more about this in our guides here.
I duplicated some of your products in WPML -> Translation Management. Please see the attached screenshot, dup-products.jpg. The sidebar now shows the filtering options. Please see the attached screenshot, sidebar-ok.jpg. You can duplicate all the other products on your site and also do the same on the other sites.
A note from my side: Your site's default language is Arabic, and the second language is English. However, the product title and content are in English, even in Arabic. If you change the title and content of the Arabic product to Arabic in the future, you must first disconnect the duplicated English products. Otherwise, the English products will be shown in Arabic. You can also read about it in the link I shared above.
Checked the QA site and Compared the settings you mentioned. But I have Few Queries
1. In QA only 21 products are in English, but in frontend in each category in english, the exact number of products are shown as in the actual main category.
whereas in SA I did the same settings and duplicated 3 products and changed their main language to ENG instead of Arabic, but in the front end it is showing only 3 products
Images : SA product backend.png, SA product frontend.png, Taxonomies Translation.png , Post Types Translation.png
Please specify how to do this? Please mention the step to achieve this.
2. I want to duplicate / translate the product at bulk. how to do this?
To duplicate multiple products at once, go to WPML → Translation Management. Select the products, and under Translation options, choose Duplicate content.