Skip Navigation

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

Last updated by Mohamed Sayed 1 year, 11 months ago.

Assisted by: Mohamed Sayed.

Author Posts
March 11, 2023 at 5:11 am #13222057

kelvinL-3

Before I install the WPML plugin, my site language is mainly in Traditional Chinese, I install it and set the default language to Traditional Chinese, don't know why I can't sync and translate the menu in English. Refer to the screenshot I provided, I can see my menu in English containing the items same as the Traditional Chinese, I can't find the way to translate the items to English. Only 2 items in English menu but I select it, it didn't show me the items.

Please help to instruct how I can completely translate the menu if English is not my default language.

Screenshot 2023-03-11 at 1.05.09 PM.png
Screenshot 2023-03-11 at 1.01.53 PM.png
Screenshot 2023-03-11 at 1.00.22 PM.png
March 12, 2023 at 8:07 pm #13226799

Mohamed Sayed

Hi kelvin,
Thanks for contacting WPML support and sorry for the delayed response due to the weekends and high support queue.

1) Could you please share your Debug information with me?
You can read a detailed explanation about it here.
http://wpml.org/faq/provide-debug-information-faster-support
The debug info will give me a lot of information about how your site is configured and will help me understand the source of the problem.

2) Please try the following steps:

- Make sure that the pages added as menu items are translated
- Go to Appearance > Menus
- Edit the English translation
- Add the translated pages to the menu
- Edit each custom link and add the translation manually
- Save the menu

Let me know please if that helps.

Regards,
Mohamed

March 12, 2023 at 11:55 pm #13227121

kelvinL-3

Hope above debug message good enough as I did upgrade some plugins including the Avada theme.

I find mainly the custom link which are not link to page will not be synced.

March 13, 2023 at 2:29 pm #13233843

Mohamed Sayed

Hi Kelvin,

1) I checked the debug info and found that the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. Minimum requirements for WPML is 128Mb. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file, right before the /* That’s all, stop editing! Happy publishing. */ line:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '128M');
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

2) Please note that the custom links won't be synced automatically and you need to translate them first by editing the labels and links manually in the secondary language menus OR to use "String Translation" as described in our guide https://wpml.org/documentation/getting-started-guide/translating-menus/#translate-custom-links

If you want to use String Translation but you can't see those links, please go to WPML > Theme and plugins localization > Strings in the themes, and scan your theme for strings then check again if you see those links in "String Translation".

Once the custom links are translated, you can run the Menu Sync option again.

I hope that you'll find this answer helpful.

Regards,
Mohamed