We’ve just deployed a new patch release of Sensei LMS and Sensei with WooCommerce Paid Courses to fix an issue with not all modules displaying in the WordPress dashboard. We also fixed a separate issue with multiple correct answers not showing in the question editor of a lesson.
We’ve just released new versions of Sensei LMS and WooCommerce Paid Courses. This means Sensei with WooCommerce Paid Courses also gets an update, since it’s a bundle of Sensei LMS + WooCommerce Paid Courses.
What’s in this Release?
This is a smallish release on the heels of the 2.0 update.
We’ve added an Edit Course button to the Edit Lesson page to make it easier to navigate between the lesson and course:
For sites with a large number of learners, we’ve made some performance optimizations to the Analysis page that should improve page load time.
We added event logging to the WordPress dashboard. You should have already received an email about this if you are subscribed to the WooCommerce.com mailing list.
You can read more about what else is in this release here and here. Then, head over to Dashboard → Updates to update from within WordPress.
Please note: While we have thoroughly tested this release, it’s always possible that we’ve missed something. We recommend that you test the update on a staging site before updating your live site.
For the next release of WooCommerce Paid Courses, we will be adding the ability to attach a course to more than one product. This will enable you to sell the same course in multiple ways, such as a standalone product and also as part of a subscription. Some prototypes and discussion of this feature can be found in this blog post.
When upgrading Sensei 1.x to Sensei with WooCommerce Paid Courses, all official translations should continue to work. Although we’ve made a lot of changes under the hood, Sensei with WooCommerce Paid Courses ships with the set of translation files that were used with Sensei previously.
However, if your site has custom translations (for example, using the Loco Translate plugin) then you may run into some issues when you upgrade.
Submitting Community Translations
Before discussing per-site custom translations, it’s worth emphasizing that the best solution for translations is to submit them to the official translation repositories. This way, any translations you submit can be used by other Sensei LMS sites as well.
Sensei with WooCommerce Paid Courses will, by default, pull its translation files from the above two locations using the default WordPress update page. It’s important to note that translation files will not be built and served from WordPress.org (for Sensei LMS translations) unless the translation file is at least 95% complete. You can export the .po and .mo files and add them to your site manually for translations that do not meet this minimum threshold.
If you have custom translations saved to your site, it’s possible that they may have stopped working after the upgrade to Sensei with WooCommerce Paid Courses. This is likely because those custom translations were added under the legacy woothemes-sensei text domain.
To resolve this:
Find the custom translation files on your server. They should be named something like woothemes-sensei-de_DE.po and woothemes-sensei-de_DE.mo. (Note that the de_DE is the language code, and may be different in your case, depending on the language you are using.)
Make a copy of both files.
Change woothemes-sensei to sensei-lms in one copy, and sensei-wc-paid-courses in the other. For example, for German translations (de_DE), you should end up with the following files:
Your custom translations should now work for Sensei with WooCommerce Paid Courses.
Managing Translations with Loco Translate
Some specialized setup is required in order to manage translations with Loco Translate:
single-course/modules.php – Moved the location of module status to inside the header element
sensei_complete_lesson_redirect_url – Disable the redirect that occurs after completing a lesson
Sensei with WooCommerce Paid Courses 2.1
In addition to the changes from Sensei LMS, there are a couple of additional items in the Sensei with WooCommerce Paid Courses 2.1 release:
We fixed an issue with the course purchase confirmation not being displayed on the correct page. The confirmation notice will now show on the Order Received page after a course is purchased.
We replaced a call to the deprecated WooCommerce Memberships get_content_restricted_message function.
You can download the Sensei LMS 2.1 beta here. Beta testers will receive the Sensei with WooCommerce Paid Courses 2.1 beta directly to their inbox. Our tentative release date for both Sensei LMS and Sensei with WooCommerce Paid Courses 2.1 is June 17th.
This is the free version of Sensei LMS (previously known as Sensei) that enables the creation of free online courses. Selling online courses is possible using the WooCommerce Paid Courses extension, which integrates with WooCommerce, WooCommerce Subscriptions and WooCommerce Memberships.
We hope that by making Sensei LMS available on WordPress.org, we are doing our part to democratize online learning!