 panagiotisL-3
|
Background of the issue:
I have installed the WPML plugin on my site hidden link and successfully translated our courses. The courses are created using a course builder/plugin. The default language is set, and I have followed the standard steps to translate the courses using WPML.
Symptoms:
When I try to access the courses in any language other than the default, I encounter a 404 error.
Questions:
Could you please assist us in resolving the 404 error on translated courses?
|
 Shekhar Bhandari
WPML Supporter since 03/2015
Languages:
English (English )
Timezone:
Asia/Kathmandu (GMT+05:45)
|
Hello,
Thank you for reaching out to WPML support. Before your ticket is assigned to a supporter, I’d like to share some steps that might help resolve the issue.
1. Have you translated the courses slug from WPML -> Settings -> Post Type Translations? If so, please try changing the slug and see if that resolves the issue.
2. Additionally, go to Settings -> Permalinks, and simply click the "Save Changes" button without making any edits. This will refresh your permalinks and might help resolve the issue.
Let me know if these steps work for you or if you need further assistance.
Thanks
|
 panagiotisL-3
|
If we give you the credentials can you check the first one for us? Because it is kind of confusing.
|
 panagiotisL-3
|
We want the slug to be as it is for english the for different languages the language code will be added before the slug.
|
 Prosenjit Barman
WPML Supporter since 03/2023
Languages:
English (English )
Timezone:
Asia/Dhaka (GMT+06:00)
|
Hi There!
Thank you for contacting WPML Support. Sorry for the delay in responding as we are currently experiencing a high volume of tickets. We’re actively working to address this and aim to provide timely responses moving forward.
I understand the issue you’re facing. As my colleague Shekhar mentioned, the problem with Courses in other languages often occurs when the slug of the Course page is translated. The slug must remain the same across all languages.
Please follow these steps to check and resolve the issue:
-- From your Admin dashboard, switch to the secondary language using the language switcher located in the top bar of the Admin area (Screenshot: hidden link).
- Go to Pages > All Pages.
- Locate the Course page in the secondary language and click on ‘Quick Edit’ below the page name.
- Ensure that the slug of the Course page matches the slug of the Course page in the default language exactly.
If it is the same and the issue persists, a closer inspection will be required to understand the root cause of the issue.
I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated.
You will find the needed fields below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.
IMPORTANT
-Please backup site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link
Looking forward to your response and I'm always here to help!
Best Regards,
Prosenjit
|
 panagiotisL-3
|
The language switcher you see now is not of WPML though because once everything is solved in the backend we will place the language switcher.
|
 Prosenjit Barman
WPML Supporter since 03/2023
Languages:
English (English )
Timezone:
Asia/Dhaka (GMT+06:00)
|
Hi There!
Thank you for the update.
Glad to hear that the suggestion worked!
Regarding the other issue you mentioned, I noticed that you haven’t provided a link to a specific page or a screenshot of the error. As a result, I’m not entirely sure what content is not appearing translated.
Could you please share the exact location where the issue occurs? If possible, a screenshot or a video of the problem in your next response would be very helpful for understanding, inspecting, and providing targeted assistance. Without this, it can be quite challenging to review each page, identify the issue, and offer relevant suggestions. I hope you can understand.
Looking forward to your response and I'm always here to help.
Best regards,
Prosenjit
|
 panagiotisL-3
|
Hi Prosenjit,
We are experiencing translation issues on our course page. Specifically:
When visiting the Greek version of the course page:
hidden link
Some content under the Curriculum tab is not being translated.
Additionally, on the sidebar course preview, buttons like "Add to Wishlist", "Share", and other elements remain untranslated.
To help illustrate this, I have attached a screenshot for reference.
You can replicate this issue by navigating to:
Masterstudy > Course in the backend.
Choose any language other than English.
View the course page on the front end.
Could you please help us identify what we might be missing and guide us on how to resolve this? Your support would be greatly appreciated.
Looking forward to your prompt assistance.
|
 Prosenjit Barman
WPML Supporter since 03/2023
Languages:
English (English )
Timezone:
Asia/Dhaka (GMT+06:00)
|
Hii There!
Thank you for the update.
I understand the issue. Under the Curriculum tab, I can see that the lessons appear translated, but the Lesson title does not.
Could you please go to "WPML > String Translation", search for the lesson title, and translate it from there?
If the issue still persists, you may need to manually edit the course in the other language and update the lesson title directly. I hope you can understand.
As for the other text in the "Sidebar", since they are static strings, you should be able to translate them using String Translation. Please go to "WPML > String Translation", search for the text, and if it appears in the results, add the translation by clicking the "+" icon under the corresponding language flag.
However, if a specific text does not appear in String Translation, you can follow the suggestions provided in this guide and hope it will help.
Feel free to let me know if you need further clarification or assistance. I'll be happy to help.
Best regards,
Prosenjit
|
 panagiotisL-3
|
Got it. I will try those and let you know if I face any issues.
One more issue I am facing when you click on GET COURSE button it is not going anywhere on the translated ones but it is working fine on English one which is our default language.
Could you look into this issue in the meantime please ?
|