This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing an issue where the hreflang and URL code for the Czech language are set to 'cz', but the website outputs '/cs/' in the URL, despite changes in the language settings.
Solution:
1. Navigate to WPML > Languages > Edit Languages, and add the custom Czech language with the desired hreflang and code.
2. Go to WPML > Translation Dashboard, and duplicate the content from the previous Czech language to the new custom one. For detailed instructions on how to do this, visit https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your 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 further assistance is needed, please open a new support ticket 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.
This topic contains 1 replies, has 0 voices.
Last updated by 1 week, 5 days ago.
Assisted by: Lucas Vidal de Andrade.
