Skip Navigation

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

Problem:
The client has created two custom Chinese languages for their site but is unable to switch to these languages from the main menu, and no translated pages are available for these languages.
Solution:
1. Ensure that the pages have been translated into the new custom languages. Follow the steps in this guide to translate content: Translating Your Contents.
2. Go to WPML -> Languages -> Hide languages section and check if the custom languages are hidden. Also, verify that the translated content is published.

If these steps do not resolve the issue or if the information provided here is outdated or not applicable to your case, we recommend opening a new support ticket. Additionally, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, you can also visit our support forum 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 Carlos Rojas 1 week, 2 days ago.

Assisted by: Carlos Rojas.

Author Posts
July 3, 2025 at 1:04 am #17195118

cordonL

Background of the issue:
I have successfully created two custom Chinese languages for my site hidden link using WPML. One is for Chinese Traditional with the language name 'Chinese (TC)', custom code 'zh', default locale 'zh_HK', hreflang 'zh', and language mapping 'Chinese (Traditional)'. The other is for Chinese Simplified with the language name 'Chinese (SC)', custom code 'zh-cn', default locale 'zh_CN', hreflang 'zh-cn', and language mapping 'Chinese (Simplified)'.

Symptoms:
When I try to switch from the main menu (ENG) to the custom language in Chinese (TC) or Chinese (SC), there is no page available. I also tried to create a menu in both Chinese (TC) and (SC), but there was no translated page for either of them.

Questions:
Why are there no pages available when switching to the custom Chinese languages?
How can I create translated pages for the custom Chinese languages?

July 3, 2025 at 10:41 am #17196777

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hello,
Thank you for contacting us

Have you translated the pages into these new custom languages already?

Please follow the steps described in this guide: https://wpml.org/documentation/translating-your-contents/ to make sure the content (posts, pages, etc) is correctly translated and published into the custom languages.

Looking forward to your message.
Regards,
Carlos

July 3, 2025 at 2:13 pm #17197765

cordonL

I did follow the instructions, but there is no option to change the language or language switcher.

Screenshot 2025-07-03 221141.png
July 4, 2025 at 8:55 am #17200551

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Thank you for your message.

Please go to WPML -> Languages -> Hide languages section -> Check if the custom languages are hidden.

Also, make sure that the translated content is published.