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.

Tagged: 

This topic contains 18 replies, has 2 voices.

Last updated by emilN-4 1 year, 7 months ago.

Assisted by: Prosenjit Barman.

Author Posts
May 23, 2023 at 4:23 am #13694449

emilN-4

I am trying to:
Sync the categories and finally use the Croatian (HR) version but the categories do not sync despite the fact that I duplicated all of them by hand yesterday. I synced in WC multilingual extension, I "counted terms" several times in the WC instruments but no effect.

Link to a page where the issue can be seen:
hidden link
That shows just 4 out of the 5 categories and inside you can see few from the 4700+ duplicated products with translated titles.

I expected to see:
It should be as the BG version: hidden link

One of your colleagues already helped with the HR version I would like to ask his help and to login again if possible or s.o. else please. Thanks!

Also debug sais that some plugins are not installed,but they are:
"WooCommerce Multilingual Not installed No"

May 24, 2023 at 3:53 am #13703951

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,
Thanks for contacting WPML Support. I will try my best to assist you in this matter.

I have checked the default and Croatian versions of the Shop page and understood the difference. Upon checking the debug information you've shared, I found that the "Translation Preference" for the product category is set to display the default contents if translation is unavailable. With that configuration, all the default categories should appear properly. Since it is not happening, please try the following steps.

- Go to "WPML > Support" and click on the "Troubleshooting" link.
- On the Troubleshooting page, click on the buttons mentioned in this screenshot(hidden link).

Once the process is completed, please go to the "WooCommerce > WooCommerce Multilingual > Category" tab and click on the Synchronize categories button if it is available there.

I hope it will help. But, feel free to let me know if you need further assistance. I will be happy to assist you.

Best Regards,
Prosenjit

May 24, 2023 at 7:08 am #13704395

emilN-4

Hi!

Thanks but it did not work. I clicked the three buttons even twice. I went to the sync product categories in WC Multilingual and it do not show anything to sync. The shop at the HR page still shows the same. I can give you admin access to troubleshoot it.
I have to let you know that I once I duplicated and then deleted all HR products and categories as they did not appear correct then too which was later aolved by your colleague (but already were all deleted). These are now the second duplicated products and pr. Categories

May 25, 2023 at 6:23 am #13712151

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,

Thanks for patiently trying the suggestions. I would be happy to take a closer look and help you to find a solution for this issue. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue.

It would be better to have a testing site where the issue is replicated.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please make a backup of site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Looking forward to your response and I appreciate your cooperation in this case.

Best Regards,
Prosenjit

May 26, 2023 at 6:01 am #13719847

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,

Thanks for sharing the access.

The category which is missing in the Croatian version of the Product page is "Крепежни елементи".

While checking the category in the default language, I found two sub-categories and each contains multiple products. Now, the category and sub-category were translated properly into Croatian language but seems the Products inside the sub-category aren't translated completely into Croatian language yet. For example, under "КРЕПЕЖНИ ЕЛЕМЕНТИ ЗА ВЕТРОБРАНИ" sub-category, the product named "Щипка за ветробрани (метална V-образна пластинка) (стандартен монтаж, тип 1)" isn't fully translated yet. Please check this screenshot(hidden link) for a better understanding.

By default in WooCommerce, the categories that don't have any product will not appear on the Shop page. Since the category in Croatian language doesn't contain any product, that's why, the category is not showing in the list.

Please navigate to the "WooCommerce > WooCommerce Multilingual > Products" tab, search for the products under each sub-category, and make sure the products are 100% translated. Click on the Pencil Icon below the Croatian Flag to see which fields are left to be translated. I hope the issue will be solved after fully completing the translation of the products.

Let me know if that helps or if you need further assistance. I will be happy to assist you.

Best Regards,
Prosenjit

May 26, 2023 at 5:00 pm #13724717

emilN-4

Hi it had had it's translation. Please hide the links:
hidden link

Also it is assigned as translation of the right BG product:
hidden link

Also one of the top categories has a wrong title (a duplicate of the other):hidden link

all products are translated but not with the WPML automatic tool/container. Please help.

May 29, 2023 at 9:40 am #13730899

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,

I hope you're doing well. I'm very sorry for the delay in getting back to you.

Kindly be informed that the links will be kept hidden from other users. Only you and the WPML Support team will have access to the links. Please don't worry about that.

I checked the Croatian product page and now I can see that the category, that was missing("Крепежни елементи"), is showing properly now. Kindly check this screenshot(hidden link) for a better understanding.

As the Category is now showing fine, can we consider the issue resolved? If the Category name in the Croatian language is not showing properly, you can adjust that easily from WooCommerce Multilingual.

- Go to "WooCommerce > WooCommerce Multilingual > Categories" tab
- Search for the Category in the default language.
- Once the category appears in the result, add the correct name for the Croatian language by clicking on the pencil icon under the Croatian flag.

Kindly check this documentation for a better understanding: https://wpml.org/documentation/related-projects/woocommerce-multilingual/#taxonomies

Let me know if you need any further assistance in this matter. I will be happy to help.

Best Regards,
Prosenjit

May 29, 2023 at 10:44 am #13731407

emilN-4

Hi! Unfortunately, it's not solved and not showing properly:
Just a small example:
around 10 products are missing here: hidden link
Wrong names appear here: hidden link
hundreds of products are missing or thousands and hundreds of categores. Another example:
honda is missing here with all its subcategories and products:
hidden link

May 30, 2023 at 12:11 pm #13739325

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,

Thanks for sharing more information. Based on the information, I checked again and my findings are included below.

- Around 10 products are missing in the "ВЕТРОБРАНИ ЗА ПРОЗОРЦИ" category: I checked and found that the products that are not showing in the Croatian language have not been translated yet. Kindly check this video(hidden link) for a better understanding. Also in the product list, only 3 products are appearing by that name(Screenshot: hidden link). Please complete the Croatian translation of those products to see them on the list properly.

- Wrong names appear for the Category- You can easily update the name of that category from the Category translation section of WooCommerce Multilingual. Please go to WooCommerce > WooCommerce Multilingual > Categories tab. From there, search for the Category by entering the name in the default language, and once the category appears in the result, click on the "Pencil" Icon under the Croatian language. You'll be able to update the category name after that. Please check this screenshot(hidden link) for a better understanding.

The only reason behind the unavailability of categories and products is missing translation. As I have mentioned in one of my responses(#13719847), a category that is empty is not supposed to appear on the Shop page or anywhere on the site. So, if you're not seeing any specific category or product in other languages, then the product under that category likely to be not translated yet.

Please check the translation according to the video mentioned above and add the translation accordingly. The product will start to appear properly in the Frontend.

Let me know if that helps or if you need further assistance in this matter. I will be happy to assist you.

Best Regards,
Prosenjit

May 30, 2023 at 4:56 pm #13741443

emilN-4

Hi thank you for the efforts! But... it's not true that the products are not translated (and I never used the WPML editor shown above for that as it does not work well for me - you can see this is our 11th language, I use another editor).
Just an example that does not appear there but is in fact translated:
BG: hidden link
visible in BG pr. cat.: hidden link

and it's translation in
HR: hidden link

that I see now is wrongly synced to another category that has nothing to do with that product (it's wrong and does not correspond to the BG product and it's assigned category): hidden link

why is it not synchronizing correctly acc. to BG pr. cat. hierarchy? How can that be solved. I can assure you that all products do have translations. There is some error in how they sync the categories. Please check and solve it.

P.s. here is another example of the same pr. cat. sync issue: hidden link

and that is the case with probably thousands of products (I don't want to waste time again to fix it manually one by one). That is some error in WPML and how it sync categories.
To add, I do edit the translation and inside it doesn't actually have any category assigned (at least none of the ones that we saw in the public versions of BG and HR: hidden link
You can open this "Edit product" here: hidden link

Also please remove the titles that you cited above as I don't want this topic to appear in google. They are in BG right after these phrases in your comments:
-"Around 10 products are missing in the"...
-"the category, that was missing("...
-"For example, under " ...

June 1, 2023 at 9:29 am #13752359

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,

First of all, Thanks a lot for clarifying everything. Now, I got a clear understanding of the issue and will try my best to assist you in solving the issue.

I checked the product and indeed the categories are not assigned to that product correctly and that might be the primary reason behind the issue. The category assignment was overlooked somehow and I'm really sorry for the inconvenience it may cause. The categories assigned for the products may not be synchronized due to several reasons.

However, If the Products are translated properly but the categories are not synchronized across the languages, would you please try the steps mentioned below and check if that help to solve the issue?

- Go to "WooCommerce > WooCommerce Multilingual > Categories" tab
- Scroll down belong and you'll see the Category Synchronization button(Screenshot: hidden link)
- Click on that button and the category will be synchronized across the languages and will also be assigned to the products correctly.

As you've so many categories and products, it is better to take a backup before proceeding

I hope that will fix the issue with the category and the categories will start to appear properly on the Frontend. Please let me know how it goes. I will be happy to assist you if you need further assistance in this matter.

Best Regards,
Prosenjit

June 1, 2023 at 9:35 am #13752393

emilN-4

Hi! I know this sync and had done it and even the "count terms" in WC>Status>Tools did not help for BG and HR. Did these several times. The new sync that we see is due to some other translations that I added later. I do make this sync+update and am checking if this does help...
No, the same issue.
hidden link

Please review and escalate if needed.

June 2, 2023 at 10:44 am #13760747

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,

Thank you for trying the suggestions provided earlier. Since the issue continues to persist even after synchronizing the category, I suggest running the Taxonomy Synchronization for Products from the WPML Troubleshooter. That tool most of the time fixes common issues related to taxonomy synchronization. Please follow the steps mentioned below.

- Take a full backup of your site
- Go to "WPML > Support" and click on the "Troubleshooting" link.
- Under the "Clean Up", you'll find a dropdown. Select "Products" from that Dropdown and click on the "Synchronize posts taxonomies" button.

Product synchronization will be started after that. Please wait till the product synchronization is finished. As you have a huge amount of product, it will take some time to get finished.

Please give it a try and see if it helps to resolve the problem. But, if the issue persists even after that, I will take this matter to the 2nd tier team for further investigation. We will definitely try our best to solve the issues.

Looking forward to your response and appreciate your kind cooperation and patience in this matter.

Best Regards,
Prosenjit

June 2, 2023 at 2:58 pm #13762333

emilN-4

Hi!
I made it: hidden link
It rotated for 2 hours and ... still the same: hidden link

Please escalate or solve it somehow.

June 5, 2023 at 11:26 am #13769925

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,

I hope you're doing fine and am sorry for the delay in getting back to you due to the Weekend.

I have checked the screenshot and it seems the synchronization didn't happen properly. Because, When you click the Synchronize button after selecting the Product post type, the batch update of the product will be initiated and you should see how many batches are completed, as shown in this screenshot(hidden link).

Could you please clear the caches on your site and rerun the tool to complete the Batch update process? Given the large number of products, it may take a couple of hours to complete. I understand that it will be time-consuming, but before escalating the issue further, it is important for us to explore all possible solutions. I hope you can understand the matter.

If the issue continues to persist despite the previous steps, I kindly request you to replicate the same issue on a staging site and provide us with access to the staging site. Debugging on a staging site is preferable to avoid any impact on the user experience of the production site. We will debug further and try our best to solve the issue.

Best Regards,
Prosenjit