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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

Tagged: 

This topic contains 0 replies, has 0 voices.

Last updated by Andreas W. 2 days, 6 hours ago.

Assisted by: Andreas W..

Author Posts
November 6, 2024 at 10:02 am #16370888

denyD

Background of the issue:
I'm trying to create English courses with Learndash on my website, which is in Italian. I can create the courses, but I'm having trouble with the course pages.

Symptoms:
The permalink created for the courses is completely wrong and not translated. And i can't see the course pages.

Questions:
How can I create Learndash courses in English with the correct permalinks?

November 6, 2024 at 11:56 am #16371442

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

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

Hello,

Take kindly note that Learndash can only be translated with the WordPress-Editor.

Source:
https://wpml.org/plugin/learndash-lms/

Please give this a try:

https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/

In case yu need further assistance it would be ideal if you could provide us the debug information for faster support.

Guide:
https://wpml.org/faq/provide-debug-information-faster-support/

Best regards
Andreas

November 6, 2024 at 2:37 pm #16372640

denyD

Sorry but the article was not helpful, i can't literally see the course page in english version.
There is probably something wrong with the backend, i think that you have to look inside or we need a chat to explain well.

How can i attach debug info?

November 6, 2024 at 2:39 pm #16372700

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

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

Hi,

I would like to request temporary access (wp-admin and FTP) to the site to investigate the issue further.

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

IMPORTANT
Please be sure to back up the site and database before granting us access.

If you can't see the "wp-admin / FTP" fields, your post and site login details will be set to "PUBLIC". DO NOT publish the data unless you see the required wp-admin / FTP fields.

I may need to install a plugin called "All In One WP Migration" here to create a copy of the site that I can use to investigate the issue further.

However, I would also be very grateful if you could provide a staging site or copy of the website from your server for this purpose.

If you have any questions about creating such a staging site, you can consult your hosting provider. Please note that WPML must also be registered on this staging site at https://wpml.org/de/account/websites/.

If you are not able to provide such a copy of the website for testing, please let me know on this ticket.

The private reply form looks like this:
hidden link

The next time you reply, click on "I still need assistance".

Video:
hidden link

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

Best regards
Andreas

November 6, 2024 at 2:50 pm #16372753

denyD

Sorry but i have no more space to create a staging site, can you do this by your own?
I have to tell you something before: if you click on "translate links destination" my website will broke. Basically you don't have to touch the permalinks. I can't do backups cause order and courses will disappear from users account.
So it is mandatory to use a staging site.

tell me what i have to do please

November 6, 2024 at 9:37 pm #16374769

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

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

Please provide me with admin access to the live site using the private reply form.

I will try to take a package of the site while setting filters for media. This should keep the size small. I will use the plugin "All In One WP Migration" for this.

The private reply form looks like this:
hidden link

The next time you reply, click on "I still need assistance".

Video:
hidden link

November 7, 2024 at 10:06 pm #16380131

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

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

Until now it appears that not any "Course" has been translated.

Please follow this guide and let me know if further assistance is needed:
https://wpml.org/documentation/plugins-compatibility/how-to-create-multilingual-online-courses-websites-using-learndash-and-wpml/

November 8, 2024 at 9:53 am #16381396

denyD

I've followed it!! It doesn't work, that's the point! Now i deleted the translated courses, that's why you can't see them. Please try to translate "full cover tips course"(is a draft), publish it as private and let me know if you can see it.
Please i need to fix this quickly.

November 8, 2024 at 3:16 pm #16382700

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

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

Thank you for your message!

I duplicated a course with WPML, then set it as independent.

It was now here:
hidden link

To translate the CPT archive slug, first go to the WordPress Permalinks setting and make sure the permalink slug has the correct source language set. Those were set to English.

Then translate the slug at WPML > Settings > Post Type Translation.

What is unclear to me is, why the Courses use the Product Slug instead of the Courses Slug, but this seems not to be WPML related, as this issue is already occuring on the original events.

If you check the backend, actually we see the correct slug on the translated posts, but something is causing a slug rewrite to "products".

The translated course is now here:
hidden link

If you need further assistance, please first make sure to update all plugins.

November 8, 2024 at 3:34 pm #16382738

denyD

Now my website is completely broken.. All permalinks are changed. I need to force a backup, that's why i've asked to do this on a staging site. I can't understand what's wrong with your plugin.

November 8, 2024 at 6:32 pm #16383247

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

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

Could you please provide more details about how the site was affected?

Further, could you please clarify if you are rewriting the CPT slug to use "products" for courses?

November 11, 2024 at 9:41 am #16387629

denyD

This is not the first time I have used your support. The first time, I was chatting with one of your agents, I provided access to the site, they tried to make some modifications, and then abruptly closed the chat. Here’s what’s happening on the site: all the custom post type permalinks are being changed. So when users try to access a course, they get a 404 Not Found page. I contacted the hosting both times to fix the issue, and this is what they did to resolve it:

"The issue was related to internal links and pages being inaccessible, for example this one: hidden link. It was showing a "404 - Not found" error on the site as if the page does not exist, which is controlled by the site's Permalinks.

Using SSH connection to your account, I ran the following WP-CLI command: https://developer.wordpress.org/cli/commands/rewrite/flush/, which reestablished the permalinks on the site."

Anyway, I want the course links to be: /courses/course-name. They should not be product pages, but course pages.

November 11, 2024 at 3:14 pm #16389440

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

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

Hello,

I would like to offer to take a copy of your site for testing using the plugin All In One WP Migration.

For the future, before reporting an issue, please make sure to run all available updates. There are still at least 19 updates available.

Would it be possible to run this updates and to confirm if the issue persists after running the updates?

It this will not solve the issue, I will be glad to create a copy of the site and run further tests.

Best regards
Andreas

November 11, 2024 at 3:39 pm #16389479

denyD

I've created a staging site for you after get new space.
Could u please let me give you the credentials?
In this way you can test everything you want

Thank u for your help, i need to find a fix as soon as possible

November 11, 2024 at 6:37 pm #16390018

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

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

Sure, this would be very helpful!

The private reply form is enabled again, so that you can provide me the information.