This thread is resolved. Here is a description of the problem and solution.
Problem:
The client needed to set different slugs for a custom post type (CPT) archive page in different languages. The default slug was in Spanish, and translating it directly using WPML's String Translation caused issues, resulting in pages not relating properly and 404 errors.
Solution:
We informed the client that WPML currently has a limitation when it comes to translating the 'has_archive' option for a unique value, meaning that a direct translation of the CPT archive slug is not possible at this time. We provided a guide for a better understanding of this limitation:
We suggested that if the client enables the 'Has archive' and uses the default CPT's slug, they can then translate that slug from "WPML > Settings > Post Type Translation".
We also mentioned that our development team is aware of this issue and is working on a solution for a future version of WPML, but we do not have an estimated time of arrival for this update.
If this solution is not relevant to your case, either because it's outdated or not applicable, we recommend opening a new support ticket. 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 you need further assistance, please contact us in the 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.
This topic contains 3 replies, has 3 voices.
Last updated by Prosenjit Barman 6 months ago.
Assisted by: Prosenjit Barman.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.