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.
We’ve been working on a few different prototypes for adding a course to multiple products in the WooCommerce Paid Courses extension. We would like to share those with everyone now so that we can integrate your feedback and co-create a solution together!
Configuration in the WordPress Admin
There are a couple of different ways we could approach adding the same course to multiple products in the WordPress Admin.
The first option enables adding courses to a product at the product level. Here’s what that might look like for a simple subscription:
And for a variable subscription:
It would work similarly for other product types.
An alternative approach would be to add products to courses at the course level. Note that the checkboxes in this mock-up are the product names:
Option 3 (NEW)
A third option submitted by Roland uses a multi-select box on the course page:
What It Looks like on Your Site
There are also a couple of options as to what this might look like for your site visitors. Please note that the following prototypes are only applicable to courses that are attached to multiple products. If a course is attached to a single product, then a purchase button would be displayed, as is currently the case.
The following prototypes are clickable so that you can step through the three different screens.
The first prototype uses radio buttons on the single course page to list the available pricing options. The products listed would be pulled directly from the product names themselves.
The second prototype utilizes a single dropdown for selecting a pricing option. Again, the options listed are the names of the products.
We’d love to hear your feedback and which of these options you prefer, both in WP Admin and on your site. Or feel free to offer a new suggestion that we haven’t considered yet. You can add a comment right here on this post.
After updating, you will see Sensei with WooCommerce Paid Courses listed on the Plugins page:
If you currently have a valid Sensei license for your site, nothing changes with the release of Sensei with WooCommerce Paid Courses. Your existing plugin will continue to function as before, and you’ll still receive updates and support.
You can read more about why we made this change here.
The new minimum required version of WooCommerce is 3.0.
The Access Permissions setting now controls only lesson content, not lesson and course content. Always displaying the content on the single course page is an opportunity to further promote a course and encourage user enrolment.
When Sensei is first activated, a pop-up appears asking you to join our mailing list. This pop-up will only appear on sites that have never had Sensei installed before.
We added a new Sensei LMS extensions page available from the Sensei LMS > Extensions menu.
You can read more about what else is in this release, including template file changes and deprecations, here and here.
Head over to Dashboard → Updates to update Sensei 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.
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!
Please note that Sensei Share Your Grade 2.0 requires a minimum Sensei version of 1.11.0 and a minimum PHP version of 5.6. If you are not running Sensei 1.11.0+ and PHP 5.6+, please update to more recent versions of both before updating Share Your Grade.
Sensei Course Participants 2.0 is now available! 🥳
Please note that Sensei Course Participants 2.0 requires a minimum Sensei version of 1.11.0 and a minimum PHP version of 5.6. If you are not running Sensei 1.11.0+ and PHP 5.6+, please update to more recent versions of both before updating Course Participants.
Please note that Sensei Certificates 2.0 requires a minimum Sensei version of 1.11.0 and a minimum PHP version of 5.6. If you are not running Sensei 1.11.0+ and PHP 5.6+, please update to more recent versions of both before updating Certificates.
Sensei Course Progress 2.0 has just been released! 🎉
Please note that Sensei Course Progress 2.0 requires a minimum Sensei version of 1.11.0 and a minimum PHP version of 5.6. If you are not running Sensei 1.11.0+ and PHP 5.6+, please update to more recent versions of both before updating Course Progress.
Please note that Sensei Media Attachments 2.0 requires a minimum Sensei version of 1.11.0 and a minimum PHP version of 5.6. If you are not running Sensei 1.11.0+ and PHP 5.6+, please update to more recent versions of both before updating Media Attachments.