Background of the issue:
I have created a custom plugin for managing products on my website hidden link. This involves a custom post type called products. The main language of the site is Italian, with English as the second language.
Symptoms:
When I navigate to the products archive in English and then switch to Italian, the link incorrectly leads to /it/products instead of /it/prodotti. The singular post name works correctly after WPML configuration, but the plural does not.
Questions:
Is there a way to translate the custom post type so that the plural name is correctly displayed in Italian?
Can WPML be configured to address the issue with the plural post name translation?
First of all, I'll recommend updating WordPress to the latest version, then clear all caches and try again.
If that doesn't help, then please check with:
- only WPML plugins.
- your custom one (i.e. having the said CPT).
- and default 2024 theme (instead of the current ones).
And let me know your findings.
IMPORTANT: Please take full backup of your website and database beforehand.
The topic ‘[Closed] Plural CPT name translation issue.’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.