Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client wants to change the Chinese language code from zh-hans to zh-cn

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

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 2 replies, has 2 voices.

Last updated by reneZ-3 2 years, 11 months ago.

Assisted by: Noman.

Author Posts
August 2, 2022 at 2:39 am #11781033

reneZ-3

Tell us what you are trying to do? I want to change the Global URL for Chinese away from zh-hans to zh-cn

Is there any documentation that you are following? I am not able to find.

Is there a similar example that we can see?

What is the link to your site? hidden link

August 2, 2022 at 8:38 am #11783109

Noman
WPML Supporter since 06/2016

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 the existing language. You can add a new language with your required language code by following the below doc:
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