This thread is resolved. Here is a description of the problem and solution.
Problem:
The client wants to change the language code from pt-br to pt in the permalink while ensuring all the translated data remains intact.
Solution:
1. Create a custom language with the desired language code (pt).
2. Duplicate all the content from the current "pt-br" to the new custom language. The content will not be automatically added to the new custom language; it must be duplicated manually.
3. We provided custom search URLs to find existing tickets with recommended solutions:
For further details on displaying untranslated content, you can refer to our documentation: Displaying Untranslated Content on Pages in Secondary Languages.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If you encounter issues or if the solution does not work for you, we highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket with us.
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 2 voices.
Last updated by 1 year, 8 months ago.
Assisted by: Mihai Apetrei.






