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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 7:00 – 12:00 | 7:00 – 12:00 | 7:00 – 12:00 | 7:00 – 12:00 | 7:00 – 12:00 | - |
- | 13:00 – 15:00 | 13:00 – 15:00 | 13:00 – 15:00 | 13:00 – 15:00 | 13:00 – 15:00 | - |
Supporter timezone: Europe/Madrid (GMT+01:00)
Tagged: Exception
This topic contains 2 replies, has 1 voice.
Last updated by Carlos Rojas 3 days, 4 hours ago.
Assisted by: Carlos Rojas.
Author | Posts |
---|---|
November 25, 2024 at 3:01 pm #16440644 | |
sonT-3 |
Background of the issue: Symptoms: Questions: |
November 25, 2024 at 4:55 pm #16441376 | |
Andrey Supporter Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+02:00) |
One of my colleagues will take on your ticket. In the meantime, I would like to provide some helpful information. Check out our list of supported languages to see which translation engines and languages are available. hidden link |
November 26, 2024 at 1:55 pm #16445236 | |
sonT-3 |
I've not seen any supporter assigned to my ticket? And the problem language is zh-Hans Chinese (Simplified) zh-hans, that is fully supported by WPML. I just edit to have the code zh-CN instead of zh-hans |
November 27, 2024 at 10:57 am #16448750 | |
Carlos Rojas Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+01:00) |
Hello, I want to take a closer look at the site configuration. I have set your next message private so you can securely share the access credentials. Please don't forget to create a full site backup before sharing the credentials. Regards, |
November 27, 2024 at 12:37 pm #16449333 | |
Carlos Rojas Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+01:00) |
Thank you for sharing the credentials. When I visited the site configuration the Chinese Simplified was deactivated. I activated it again and selected the language. It works correctly. |
November 27, 2024 at 12:54 pm #16449800 | |
sonT-3 |
It's not what I want. It just have problem with custom Chinese Simplified language. For custom Chinese Traditional (zh-TQ) and Portuguese (pt), I got no problem. |
November 27, 2024 at 1:03 pm #16449861 | |
Carlos Rojas Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+01:00) |
Hi, It is done already -check the attached image- |
November 27, 2024 at 1:18 pm #16449940 | |
sonT-3 |
I mean this code (in RED rectangle, pic1.png ). I want it to be zh-CN, instead of default zh-hans. So we can access Chinese Simplified via hidden link , instead of hidden link I've success with pt and zh-TW (attachment, pic2.png), only Chinese Simplified cannot map. |
November 27, 2024 at 1:30 pm #16450011 | |
Carlos Rojas Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+01:00) |
Thank you for your clarification. I added the Chinese Simplified with zn_CN code. Now you just need to add the correct language name translations and the flag. Can you confirm that the issue is solved? |
November 27, 2024 at 1:35 pm #16450139 | |
sonT-3 |
Yup, I see that your setting still have the error like we have. You can refresh the page and see the warning like in attachment image. And the code we want is zh-CN. Not zn-CN |
November 27, 2024 at 1:49 pm #16450178 | |
Carlos Rojas Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+01:00) |
Thank you for your feedback. I took a look at the database and the Chinese (Simplified) that comes with WPML has 'zh_CN' code in the default locale column. So, you have two options here: |
November 27, 2024 at 2:04 pm #16450328 | |
sonT-3 |
I've follow these topic to change the hreflang https://wpml.org/forums/topic/hreflang-code-change/ So following those topic, in order to create a custom code for the language (hreflang code), I changed the Default locale of the default language (in RED, to zh_CN2), then create a new language (in Blue). And it work for pt and zh-TW. I'm perplexed why it just not work for zh-CN. Can you investigate this? |
November 27, 2024 at 2:21 pm #16450436 | |
Carlos Rojas Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+01:00) |
Hi, I fixed the hreflang column and it seems that the message under the language mapping is just a false positive. You can see in hidden link -> Language Mappings that it is correctly mapped. |
November 27, 2024 at 2:40 pm #16450612 | |
sonT-3 |
I hope that it is just a false positive, but it's not. When I use the Translation Dashboard, If I set Chinese (Simplified) as Translate automatically, it will show the lack of mapping error, and not allow me to click Translate (pic1.png) So I have to set it to Translate myself and I can click Translate (pic2.png). Then I need to go the the Page, and manually using WPML Translation Editor to translate Chinese (Simplified), just that 1 language. This is just the setup, so I want to make it correctly. I'm gonna have much more posts and pages. Then having to go through each of them and manually go through WPML Translation Editor is not a good idea. |
November 28, 2024 at 9:56 am #16453902 | |
Carlos Rojas Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+01:00) |
Hi there, I will get back to you as soon as get more information. |