This thread is resolved. Here is a description of the problem and solution.
Problem:
You are trying to translate the slug from
https://onlymedia.lt/en/musu-projektai/
to
https://onlymedia.lt/en/our-projects/
, but this translation is not available in custom post type translations due to a WPML limitation.
Solution:
Currently, translating the slug in this scenario is not possible because WPML only allows the
has_archive
to be set to a string. If the string value is set to something other than
rewrite['slug']
, or if the custom post type name slug is not set, the archive slug will not be translatable. We recommend checking the documentation on translating slugs for custom post type archives for more information.
If this solution does not apply to your case, or if it seems outdated, please open a new support ticket. We also 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. For further assistance, you can contact our support team at 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.