Skip to content Skip to sidebar

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

Last updated by Andreas W. 1 year, 10 months ago.

Assisted by: Andreas W..

Author Posts
September 8, 2023 at 10:26 am #14365827

dairy-and-foodP

If I enable more than one language page on menu then that show for all language

September 10, 2023 at 12:22 am #14370307

Andreas W.
WPML Supporter since 12/2018

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

Timezone: America/Lima (GMT-05:00)

Hello,

This must be the case, because the menu is not translated yet.

Could you please translate your menu by following this guide:
https://wpml.org/documentation/getting-started-guide/translating-menus/#option-2-translating-menus-manually

If further assistance will be needed after that, please let me know.

Best regards
Andreas

September 10, 2023 at 5:20 am #14370445

dairy-and-foodP

Hi Andreas,

I did all the things that describe in your providing guide https://wpml.org/documentation/getting-started-guide/translating-menus/#option-2-translating-menus-manually. But the issue is not solved.

Please find the below credentials for check the issue.
***CREDENTIALS REMOVED BY SUPPORT AGENT***

Here the defalt language of the site is Bengali. Now I create a menu name "Blog" for English Language that show in this url hidden link. The Bengali translation menu page of this "Blog" page is "খবর" with url hidden link. Now both "Blog" and "খবর" are showing on Bengali language. But in Bengali language it need to show only "খবর" and in English Language need to show only "Blog". You can make any other page and menu item to test it. Before the default language of the site was English and Later I change the default language in Bengali. Now even I change the default language in English then also it not work and show same issue. Please tell how can solve it.

September 12, 2023 at 12:28 pm #14383743

Andreas W.
WPML Supporter since 12/2018

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

Timezone: America/Lima (GMT-05:00)

Hello,

I will be glad to look into this issue for you, but please take note that your access credentials were published publically on this ticket, which means that any user of wpml.org was able to see them.

This is why I removed this information from your comment.

I am sadly not allowed to access any website unless we receive your consent by filling out the private reply form.

Did you already try to edit the menu item directly in each menu in each language?

Guide:
https://wpml.org/documentation/getting-started-guide/translating-menus/#option-2-translating-menus-manually

If this will not solve the issue, I would like to offer to have a closer look at the site for which I need you to fill out the private reply form by providing the admin access credentials for the site.

You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it.

IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.

The private response form looks like this:
hidden link

Next time you reply, click "I still need assistance."

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.

Best regards
Andreas

September 12, 2023 at 2:38 pm #14384741

Andreas W.
WPML Supporter since 12/2018

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

Timezone: America/Lima (GMT-05:00)

Hello,

Do I understand you right, that you refer to the menu item "Blog"?

If so, please adjust the Navigation Label inside the menus.

Guide:
https://wpml.org/documentation/getting-started-guide/translating-menus/#option-2-translating-menus-manually

Let me know if further assistance is needed.

Best regards
Andreas

nav title.jpg
September 12, 2023 at 3:17 pm #14385067

dairy-and-foodP

Hello, The navigation level is already set there by "Blog". But it did not solve the issue. You can make any changes and check.

September 12, 2023 at 3:30 pm #14385103

Andreas W.
WPML Supporter since 12/2018

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

Timezone: America/Lima (GMT-05:00)

Hello,

I am sorry, but I can not follow you.

Could you please be more clear about what you are trying to do so that I can assist you?

The screenshot I send you is from the Bengali menu and it uses "Blog".

I have adjusted this now to "খবর".

Is this what you are trying to achieve?

Best regards
Andreas

blog.jpg
September 12, 2023 at 4:04 pm #14385345

dairy-and-foodP

Hello,
This is the backend page in bengali language for blog from the backend "hidden link" and it's level is "খবর".
Now I make a English translation page of this Blog in this url "hidden link" and it's level is "Blog"
Now if I add "খবর" in the menu on benglai menu and "Blog" Add on English menu then this Blog is added both in Bengali and English. This is the issue.

September 12, 2023 at 5:03 pm #14385559

Andreas W.
WPML Supporter since 12/2018

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

Timezone: America/Lima (GMT-05:00)

Hello,

I am sorry, but I still do not understand you.

Could you please send me some screenshots that clarify the issue?

I have now adjusted in Bengali the slug of the blog page to খবর and the menu item uses খবর.

Bengali:
hidden link

English:
hidden link

I do not see any issue here.

The only issue I see is that you can not use WPML WP Menus Sync - it is causing issues when I try to use it.

Instead, you will need to create menus manually - I linked twice already to this documentation.

You will only be able to add pages in another language inside the menu if they are fully translated and published.

There is not any English menu created yet.

Best regards
Andreas

bengali.jpg
September 12, 2023 at 5:33 pm #14385683

dairy-and-foodP

Hello, please see this video
" hidden link"
Here at the first there are no navigation menu on English language. Now I add a menu page "Blog" on English Language. Then from the frontend if I check the website then not only this "Blog" menu added but also all the menu of bengali language is showing. And in bengali language "Blog" this menu showing, that should not show on benglai language as there already "খবর" menu is present. This is the issue.

September 13, 2023 at 1:06 am #14386619

Andreas W.
WPML Supporter since 12/2018

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

Timezone: America/Lima (GMT-05:00)

Hello,

Thank you very much.

I have taken a copy of your site by using the plugin "All In One WP Migration" and I am about to install it on a virtual server in order to investigate this issue further.

As soon I have results I will be in contact on this ticket again.

Best regards
Andreas

September 14, 2023 at 3:34 am #14393111

Andreas W.
WPML Supporter since 12/2018

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

Timezone: America/Lima (GMT-05:00)

Hello,

My apologies for the delay in answering, as this issue is kind of difficult to debug.

First, take note, that this issue does not occur when testing the site only with WPML which means that the culprit for the issue is a third plugin used on the site.

There occurs an error on the site when on the menus screen once the following plugins are enabled at the same time:

- WPML Multilingual CMS
- Popup Builder (By Looking Forward Software Incorporated.)
- AnsPress Question Answer

If I disable AnsPress Question Answer the error does not longer occur.

The error looks like this:
Notice: Undefined offset: 0 in D:\Work\Local Sites\arablight\app\public\wp-content\plugins\sitepress-multilingual-cms\inc\wp-nav-menus\class-wpml-nav-menu.php on line 566

Even though, the mixed menus issue does not occur in this setup, which means that this issue is further linked to even another plugin.

The debug.log so far does not give me more idea what which plugin this might be, so troubleshooting this issue demands more testing.

So, what I try to do is enable a plugin or enable plugins in small groups and then edit the menu again or sync it and verify when the issue occurs again.

This is how I have been testing for a couple of hours today already and I need to ask you for some more patience, as I need more time for troubleshooting this problem.

I hope for your understanding.

Best regards
Andreas

September 14, 2023 at 8:15 am #14394471

dairy-and-foodP

Dear Andreas,

Appreciate for your hard working. I hope you can give me a good news to fix this issue for me. You can take time as you need. Thanks again.

September 15, 2023 at 12:08 am #14399923

Andreas W.
WPML Supporter since 12/2018

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

Timezone: America/Lima (GMT-05:00)

Hello,

On the copy of your site while running the Twenty Twenty One Theme and only the plugin "Assessment Manager" with WPML I can still recreate the issue.

Also, I see this error on the site when running it without any plugins:
PHP Notice: Trying to get property 'name' of non-object in D:\Work\Local Sites\arablight\app\public\wp-admin\nav-menus.php on line 1137
[14-Sep-2023 23:59:58 UTC] PHP Stack trace:
[14-Sep-2023 23:59:58 UTC] PHP 1. {main}() D:\Work\Local Sites\arablight\app\public\wp-admin\nav-menus.php:0

After all, the issue with mixed languages inside the menus and the menu getting deleted completely only occurs once the "Assessment Manager" plugin is enabled and this is what is causing issues when trying to translate menus, but the error is actually caused by the Assessment Manager plugin.

It further seems that this is a custom plugin, for which we can not take any responsibility.

WPML Support Policy:
https://wpml.org/purchase/support-policy/

In this case you should contact the author of the plugin and report this issue there.

We hope for your understanding.

Best regards
Andreas

September 15, 2023 at 6:20 am #14400669

dairy-and-foodP

Hello, Are you see this error on the site when running it without any plugins?
And is it Create only for
-Assessment Manager plugins or for - Popup Builder (By Looking Forward Software Incorporated.)
- AnsPress Question Answer also?
If it create by Assessment Manager plugins then what is the missing things that need to add here?