Skip Navigation

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

Problem:
The client is experiencing issues with the qtranslate importer plugin on a site with three languages: Traditional Chinese (default), Simplified Chinese, and English. The Traditional Chinese language is not being recognized correctly, resulting in only two languages appearing in the WPML settings, and the menu not being converted.
Solution:
1) Check the language codes used by QTranslate and WPML. Before activating WPML and starting the import process, verify the language codes in QTranslate and then in WPML. If they differ, add a custom language in WPML with the same language code used by QTranslate. For instance, WPML uses the standard codes 'zh-hans' for Simplified Chinese and 'zh-hant' for Traditional Chinese.
2) If the menu is not converting, it might be necessary to manually create the menu in the default language and then translate it.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly 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, 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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Dražen 6 months, 3 weeks ago.

Assisted by: Dražen.

Author Posts
June 26, 2024 at 4:19 am #15828700

simonN-3

Background of the issue:
I have tried the qtranslate importer plugin on a client site with 3 languages: Traditional Chinese (zh) as default, Simplified Chinese (cn), and English (en). The Traditional Chinese is not being recognized correctly by the importer plugin.

Symptoms:
The Traditional Chinese language is being left behind and only 2 languages are seen in the WPML settings. The menu is also not converted.

Questions:
Why is the Traditional Chinese language not being recognized by the qtranslate importer plugin?
How can I ensure that all three languages are correctly imported and recognized in WPML?
Why is the menu not being converted during the import process?

June 26, 2024 at 6:37 am #15830115

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

thanks for contacting us.

1) Probably, the QTranslate language code and then one WPML uses are not the same, so it is not recognized during import. Before activating WPML and starting the process, edit QTranslate language and check what language code they use, then install WPML and edit the language and check what language code we use. If they are not the same you will need to add a custom language with the same language code. For example, we use standard codes which are zh-hans and zh-hant.

2) As for menus it can depend on how it was created, in some cases, you might need to create the menu in the default language manually and translate it.

Regards,
Drazen