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.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - -
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - -

Supporter timezone: Asia/Jerusalem (GMT+02:00)

Tagged: 

This topic contains 8 replies, has 2 voices.

Last updated by Itamar 7 months ago.

Assisted by: Itamar.

Author Posts
May 1, 2024 at 12:02 pm

Masaki Nagashima

I was wondering if this could possibly be due to WP Menus Sync not functioning properly? I want to translate Japanese custom links into Chinese and English, but for some reason the Chinese translation is assigned to the English menu as well.

May 1, 2024 at 1:35 pm
May 2, 2024 at 7:48 am #15585833

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Yesterday, I installed the All In One migration plugin on your site and tried to download a package for it. The package was about 4GB, and it was downloaded for hours. Eventually, the download failed.

I thought about this issue, and another idea came to mind. Instead of doing all this work of taking a copy of your site and inspecting it, the following will be easier and less time-consuming, and I hope I will solve the problem.

Please delete the problematic menu item from the footer-menu and hbg-menu menus and recreate it. This will recreate a new DB entry for this menu item, and I hope it will solve the issue.

Can you please try that?

Regards,
Itamar.

May 2, 2024 at 3:22 pm #15588264

Masaki Nagashima

I have already tried that you suggested.
But the problem has not been solved.
It is not impossible to rewrite it manually, so I will leave it as it is for the time being, but if you have a solution, I would appreciate being informed.

May 2, 2024 at 5:50 pm #15588714

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Please answer the following questions.

1. Did you try it by deleting the menu item in all the languages (Japanese, Chinese, and English) and then recreating it?

I also see you didn't add the /wordpress/ part in the link. Please see the attached screenshot.

2. Are you using the hbg-menu menu on your site?

3. Where is its location?

4. Do you allow me to try this on your site?

Regards,
Itamar.

Screenshot 2024-05-02 204600.png
May 4, 2024 at 3:28 am #15593075

Masaki Nagashima

I deleted the corresponding custom link menu from all menus as you suggest and recreated it, but it did not work correctly.
I don't think it matters that /wordpress/ is not included in the links, but I added it and tried the same thing.
I also tried creating a new menu and it did not work correctly.

The hamburger menu is on the far right of the header menu.

When I deleted the Chinese custom link menu in the menu edit screen, the English custom link menu was deleted as well.
As I thought, the Chinese menu is reflected in the English menu only for the custom link menu.

May 5, 2024 at 9:05 am #15594064

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi, and thanks for trying my suggestions and for adding the details.

I could replicate this problem on my test site. You can see my test site here.

hidden link

I've escalated this issue to our second-tier supporters. When I have news from our second-tier supporters, I'll update you here.

I appreciate your patience.
Itamar.

May 5, 2024 at 11:21 am #15594188

Masaki Nagashima

I installed a plugin called Query Monitor and it showed database errors and duplicate queries.
Please check the details of the errors on the admin page.
When I view the WP Menu Sync screen, the duplicate queries spike.
I don't know how to solve this, but I thought it would be helpful to let you know.

スクリーンショット 2024-05-05 201542.png
May 5, 2024 at 12:57 pm #15594310

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Thanks!

I've sent this information to our second-tier supporter.

Regards,
Itamar.

May 8, 2024 at 5:46 pm #15607493

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Our second-tier supporter has debugged this issue and provided a workaround.

1. Go to WPML -> Strings Translation.

2. Scroll down to the 'Auto register strings for translation' section.

3. Select the 'Look for strings while pages are rendered' option.

4. Go to WPML -> WP Menu Sync.

5. Press the Sync button and proceed with syncing the custom menu items.

This will fix the issue.

6. Return to WPML -> Strings Translation, and deselect the 'Look for strings while pages are rendered' option.

Important! You need to proceed with this workaround only if the problem with the custom menu items is shown on the front end. Otherwise, you don't need to sync the menus.

Our second-tier supporter has escalated this issue to our developers. When I have news about this issue, I'll update you here.

Regards,
Itamar.