Skip Navigation

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.

This topic contains 1 reply, has 0 voices.

Last updated by Noman 4 days, 11 hours ago.

Assisted by: Noman.

Author Posts
December 14, 2024 at 4:08 pm #16513711

artakG

Background of the issue:
I have a multilingual website (hidden link) where Armenian is one of the languages. I would like to change the Armenian language code in the URL from 'hy' to 'am', so the URL would become: hidden link.

Symptoms:
No specific issue or error message mentioned.

Questions:
Is it possible to change the Armenian language code in the URL from 'hy' to 'am'?
Could you please guide me on how to make this change?

December 15, 2024 at 9:00 am #16514541

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. Sorry, it’s not possible to change the language code of existing languages. However, You can add a new language with your required language code by following the below docs:
https://wpml.org/faq/how-can-i-assign-or-change-language-code-to-existing-content/
https://wpml.org/documentation/support/editing-wpmls-languages-table/

Thank you