This thread is resolved. Here is a description of the problem and solution.
Problem:
The client wants to change the Armenian language code in their website's URL from 'hy' to 'am'.
Solution:
We explained that it is not possible to change the language code of existing languages directly. However, we recommended adding a new language with the desired language code 'am'. To do this, the client should follow the steps provided in our documentation:
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. Should you need further assistance, please do not hesitate to 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.