Skip Navigation

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

Problem:
The client is trying to display a translated page 'Nos courses' on their website using WPML. The default language is English, and the page has been translated to French. However, the translated page does not appear in the main menu, although it shows up when switching languages using the language switcher.
Solution:
1. Ensure that the LearnDash Multilingual plugin is installed since the course pages are generated by LearnDash. This plugin is necessary for WPML to function correctly with LearnDash. For more details and installation instructions, visit WPML documentation for LearnDash and LearnDash compatibility add-on.
2. Go to WPML->Settings->Post Type Translations and set the slug of courses to 'nos-cours'. This adjustment should help display the translated page in the main menu.

If these steps do not resolve your issue, or if the solution becomes outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.

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 2 replies, has 1 voice.

Last updated by Shekhar Bhandari 2 weeks, 5 days ago.

Assisted by: Shekhar Bhandari.

Author Posts
April 12, 2025 at 9:35 pm #16925773

thibaut-auxanceA

Hintergrund des Themas:
I am trying to display a translated page 'Nos courses' on my website. The default language is English, and I have translated the page to French using WPML.

Die Symptome:
The translated page 'Nos courses' is not showing when I click on the main menu. However, when I switch the language from English to French using the language switcher, the translated page appears.

Fragen:
Why is the translated page not showing in the main menu?
Is there an issue with the translation menu?

April 14, 2025 at 12:39 pm #16929507

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

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

Hi,

This usually happens when the French menu hasn’t been properly synchronized with the English (default) one. In WPML, each language has its own menu, so translating a page alone doesn't automatically add it to the translated menu.

When you click the French flag via the language switcher, the page exists and loads fine—which means the translation itself is working correctly. The issue is likely with the French menu not including the 'Nos courses' page.

You can use WPML’s Menu Sync tool:

- Go to WPML > WP Menus Sync
- follow the prompts to sync your English menu to the French one

It will add translated items automatically, if available.
https://wpml.org/documentation/getting-started-guide/translating-menus/#translating-menus-with-custom-links

April 15, 2025 at 11:19 am #16933750

thibaut-auxanceA

Hello, thanks for your support. I still have the same issue after the Menu Sync. Actually everything seem to be translated but for some reasons i don't see the courses once i click on that button "Nos course".
Any idea what i could do?

Screenshot 2025-04-15 131820.png
April 16, 2025 at 4:51 am #16936537

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hi there,

I'm happy to help you further with this issue.

Since you already preformed the initial debugging steps, To debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site.

So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply.
hidden link

This info is private and available to you and WPML supporters only.
Read more about this: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Note:
Backup your sites before providing the credentials or if possible provide credentials for the test site

Look forward to your reply.

Thanks

April 17, 2025 at 4:19 am #16941694

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hi there,

It looks like the course pages are being generated by LearnDash. For WPML to work correctly with LearnDash, you’ll need to install the LearnDash Multilingual plugin. You can find more details here:
https://wpml.org/documentation/plugins-compatibility/how-to-create-multilingual-online-courses-websites-using-learndash-and-wpml/
hidden link

Please try installing the plugin and see if that resolves the issue.

Thanks!

April 17, 2025 at 8:25 am #16942621

thibaut-auxanceA

Hello, i am really thankfull for the support, but i really don't see what the issue behind this button "Nos cours". I could install the LearnDash Multilingual addon and went through the settings and translation. The issue remains: when i click on the menu link "Nos cours" the page is empty.
Thanks if you have another idea
Thibaut

April 18, 2025 at 3:06 am #16946159

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Did you installed the plugin and have the same issue afterwards?

Thanks

April 18, 2025 at 9:56 pm #16948312

thibaut-auxanceA

yes i installed the addon and no difference so i even followed how to create a multilanguage site directives but still the same behaviour by clicking on the men "Nos cours"

April 21, 2025 at 3:33 am #16950555

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I went to WPML->Settings->Post Type Translations and set the slug of courses to nos-cours and it's working for me, can you check and verify.

Thanks

Settings-‹-AfricaConnectHub-—-WordPress-04-21-2025_09_17_AM (1).png
April 23, 2025 at 7:52 am #16958281

thibaut-auxanceA

Oh thanks a lot, it is now working for also.
When am i suppose to use that post type settings? I thing i didn't do any changes there.

April 23, 2025 at 8:56 am #16958606

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

The post type settings is used to set post types as translatable and to set the slugs, I already did the slug translations for you so it's working now.

Thanks