Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing issues with translated categories on their blog, where categories are labeled incorrectly, missing, or duplicated in different language versions. The Greek and Italian versions have missing categories, while the Chinese version shows duplicated categories.
Solution:
We recommended checking and maintaining the taxonomy structure across languages by referring to our documentation on Translating Post Categories and Custom Taxonomies. If the structure is incorrect, it is necessary to synchronize the hierarchy. Additionally, we suggested using the following troubleshooting functions in WPML:

  • Synchronize posts taxonomies (for posts)
  • Set language information
  • Fix terms count
  • Fix post type assignment for translations

These steps helped resolve the issue after they were performed in sequence.

Please note that this solution might be outdated or not applicable to your specific case. 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 the problem persists, please open a new support ticket.

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.

No supporters are available to work today on this forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

This topic contains 2 replies, has 2 voices.

Last updated by Bruno Kos 4 months, 2 weeks ago.

Assisted by: Bruno Kos.

Author Posts
July 3, 2024 at 12:52 pm #15884386

nickF-8

Background of the issue:
I am trying to resolve issues with translated categories on my blog HellenicMoon.com/blog. I noticed that many translated blog categories are labeled incorrectly or missing, especially on the Greek and Italian versions. The Chinese version has duplicated categories and other strange behavior. We previously resolved a similar issue by syncing the taxonomies: https://wpml.org/forums/topic/translated-post-showing-as-uncategorized/. I think it is best if Lucas Vidal de Andrade looks into this problem as it might be connected to another issue we worked on together.

Symptoms:
Translated blog categories are labeled incorrectly, missing, or duplicated across different language versions of the blog. The Greek and Italian versions have missing categories, while the Chinese version has duplicated categories.

Questions:
Why are the translated blog categories labeled incorrectly or missing?
Could the previous taxonomy syncing have caused these new issues?
Can Lucas Vidal de Andrade look into this problem as it might be connected to a previous issue?

July 3, 2024 at 12:53 pm #15884445

nickF-8

Your automated support suggested that the problem might be because WordPress API is not enabled on my site. It gave me a link to learn more about that, but the link is broken:

https://wpml.org/report-a-new-issue/rest-api-dependencies

If you tell me how to enable WordPress API I can give it a try.

July 3, 2024 at 1:10 pm #15884608

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Hi,

Thank you for contacting WPML support!

It would not be because of REST API.

Can you check this?
https://wpml.org/documentation/getting-started-guide/translating-post-categories-and-custom-taxonomies/#maintaining-your-taxonomy-structure-across-languages

If the structure is not correct you need to synchronize the hierarchy.

After this, you can try our troubleshooting functions also:

- WPML - > Support -> Troubleshooting:
– Synchronize posts taxonomies (for posts)
-- Set language information
-- Fix terms count
-- Fix post type assignment for translations

Has it helped?

Regards,
Bruno Kos

July 4, 2024 at 12:29 pm #15891833

nickF-8

Hi Bruno,

Synchronize posts taxonomies (for posts) did the trick. The strange thing is that I had tried that before contacting you, but it didnt work. The difference this time however, is that before running Synchronize posts taxonomies (for posts), I ran all the other fixes you proposed, and then ran Synchronize posts taxonomies (for posts) again, and it worked.

Thanks,
Nick