Skip to content Skip to sidebar

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

Problem:
You are using Tutor LMS with WPML for a bilingual English and Swedish site, and you're facing issues with translating dashboard slugs like 'purchase_history', 'my-profile', 'enrolled-courses', etc. into Swedish. The page content loads correctly, but the page title displays 'Page Not Found' in Swedish, while English works fine. Additionally, after updating the Tutor LMS plugins, the sidebar menu in Swedish started working, but clicking the inner tabs redirects to a 404 page.
Solution:
We have identified that the issue with the page titles not displaying correctly in Swedish and the 404 errors when clicking on inner tabs are caused by your custom code. We recommend testing your site with a default theme, such as Hello Elementor, to confirm if the issue persists without the custom code. If the problem is resolved with the default theme, it indicates that the custom code is causing the translation and redirection issues. For further assistance, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and ensure you have installed the latest versions of themes and plugins.

If this solution does not apply to your case or if it becomes outdated, we highly recommend opening a new support ticket. You can do so 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 11 replies, has 0 voices.

Last updated by Dražen 8 months, 2 weeks ago.

Assisted by: Dražen.

Author Posts
August 8, 2025 at 9:14 am #17304816

Dixa Butani

Background of the issue:
I am trying to use Tutor LMS with WPML in English and Swedish so that the dashboard slugs (purchase_history, my-profile, enrolled-courses, etc.) are translated into Swedish and show the correct page titles. You can see the issue at hidden link. I expected to see the page title in Swedish corresponding to the dashboard section (e.g., 'Köphistorik' for 'Purchase History') when viewing in Swedish. Login details as a user: email: test123@gmail.com, password: test123@gmail.com.

Symptoms:
The page content loads correctly, but the page title says 'Page Not Found' when using the Swedish version. This only happens in Swedish — English works fine. It seems the Tutor LMS endpoint slugs are not translated. I could not find them in WPML → String Translation or Tutor LMS settings.

Questions:
Why are the Tutor LMS dashboard slugs not translating into Swedish?
How can I ensure the correct page titles are displayed in Swedish?

August 8, 2025 at 9:41 am #17304888

Dražen
Supporter

Languages: English (English )

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

Hi,

please share the access details of your staging website, so I can log in and take a look.

I’m enabling a private message for the following reply.

We have strict policies regarding privacy and access to your information.

Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/


- Please backup the site files and database before providing us access. 

- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.



Thanks,
Drazen

August 13, 2025 at 9:55 am #17316336

Dixa Butani

you can login via this link without password

hidden link

August 13, 2025 at 10:37 am #17316827

Dixa Butani

It would be great if you could resolve the issue as soon as possible.

August 13, 2025 at 12:10 pm #17317346

Dražen
Supporter

Languages: English (English )

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

Hello,

I checked but I could not find a quick solution, it looks like a bug.

To speed things up, can you please go to next test site, install Tutor LMS plugins, and try to reproduce the issue:

- hidden link

If it is not possible, please let me know if it is okay we take copy of your website and debug it further.

Regards,
Drazen

August 13, 2025 at 1:53 pm #17317916

Dixa Butani

Yes, you can take a copy of my site, but please fix this issue as soon as possible.

August 14, 2025 at 5:38 am #17319636

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks, I will take a copy and debug further.

I will update when I have some news, we will do our best but these things take time.

Regards,
Drazen

August 14, 2025 at 6:24 am #17319818

Dražen
Supporter

Languages: English (English )

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

Hello,

I checked further and seems the issue is coming from custom code that you added in the parent theme functions.php.

I have deleted theme and re-installed new Hello Elementor theme and it works fine then in SW. Note, we can not support or debug custom code solution, for that would be best to hire or advise further with your developer.

I also see Tutor LMS plugins are older version, so please update to latest.

I have done these testing on local version, not on your staging site.

Regards,
Drazen

August 14, 2025 at 6:45 am #17319852

Dixa Butani

Okay, I 'll check that

August 14, 2025 at 6:47 am #17319853

Dražen
Supporter

Languages: English (English )

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

Hello,

I already checked your website and replied above:

- https://wpml.org/forums/topic/tutor-lms-dashboard-slugs-not-translating-in-swedish-shows/#post-17319818

Issue is caused by your custom code, it works fine with fresh Hello Elementor theme.

Regards,
Drazen

August 14, 2025 at 7:59 am #17320063
Dixa Butani

The issue with the sidebar menu in the Swedish version of the user dashboard has been resolved after I updated both Tutor LMS plugins. However, the inner tabs within the menu are still not functioning as expected — clicking them redirects to a 404 page.

I have also checked by commenting out all my custom code, but the issue with the inner tabs remains. The main menus now work after the plugin updates, but do you happen to have any idea what might be causing the inner tab issue?

New threads created by Dražen and linked to this one are listed below:

https://wpml.org/forums/topic/split-inner-tabs-within-the-menu-redirects-to-a-404-page/

image.png
August 14, 2025 at 8:18 am #17320104

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks for getting back.

We limit 1 issue per ticket to keep things clear. This will help other users with similar problems to find solutions when searching the forum.

I have opened a new ticket for you:
- https://wpml.org/forums/topic/split-inner-tabs-within-the-menu-redirects-to-a-404-page/

I will be closing this ticket now since seems no more doubts about the topic.

Regards,

Drazen