This thread is resolved. Here is a description of the problem and solution.
Problem:
You are trying to change the default language code from 'en' to 'us' in WPML, but the documentation does not provide information on how to do this.
Solution:
Firstly, it's important to note that you cannot change an existing language code directly. However, you can assign or change the language code to existing content by following the instructions here: https://wpml.org/faq/how-can-i-assign-or-change-language-code-to-existing-content/
After addressing the above, you can change the default language by:
1. Navigating to WPML > Languages > Site Languages.
2. Clicking on the "Change Default Language" button and switching to the desired language.
3. Going to WP > Settings > Permalinks and resaving the permalinks.
If this solution does not apply to your case, or if it seems outdated, 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 3 replies, has 0 voices.
Last updated by 1 week, 5 days ago.
Assisted by: Bruno Kos.