This thread is resolved. Here is a description of the problem and solution.
Problem:
The client has a custom post type
nb_poems
set to untranslatable, with a translatable custom taxonomy
poem-tags
The terms are translated and linked correctly in the default language, but when switching to a different language, each term shows 0 posts linked in both backend and frontend.
Solution:
We recommend the following steps:
1) Back up your site.
2) Navigate to WPML >> Settings >> Post Types Translation.
3) Set the
nb_poems
post type to Translatable – use translation if available or fallback to default language.
4) Save the changes.
5) Clear all types of caches.
This should resolve the issue in the frontend, allowing posts to fall back to the default language if they are not translated. However, in the backend, the taxonomy terms will still show a post count of zero in secondary languages because the posts themselves are not translated.
For more details, please refer to the following articles:
If this solution doesn't look relevant, 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.