Translating Sensei LMS

Both Sensei LMS and Sensei with WooCommerce Paid Courses can be translated into any language. They already ship with a set of community-submitted translations, which will be used automatically when you change your site language in Settings > General.

Create a Multilingual Site

If you would like to offer your courses in multiple languages, there are third party plugins available to help you do that. We have in-depth tutorials available for both Polylang (free) and WPML (paid).

Submit a New Translation

If your chosen language is not already available, or you want to improve the available translations, the best solution is to submit your own translations to the official translation repositories. This way, any translations you submit can be used by other Sensei LMS sites as well.

Strings for most Sensei LMS functionality should be submitted to the Sensei LMS WordPress.org translation repository. Strings related to selling courses are part of the WooCommerce Paid Courses extension should be submitted to its translation repository.

Sensei with WooCommerce Paid Courses will, by default, pull its translation files from the above two locations using the default WordPress Updates page. It’s important to note that translation files will not be built and served from WordPress.org (for Sensei LMS) 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.

Translation File Location

The default location for translation files is at /wp-content/languages/plugins. For example, the German translations files can be found at:

  • wp-content/languages/plugins/sensei-lms-de_DE.mo
  • wp-content/languages/plugins/sensei-wc-paid-courses-de_DE.mo

Do note that you will need both sensei-lms and wc-paid-courses translation files if you are using Sensei with Paid Courses.

Manage Translations with Loco Translate

Some specialized setup is required in order to manage translations with Loco Translate.

  • Go to Loco Translate > Home.
  • In the Running plugins section, click on the plugin and then go to the Advanced tab:

  • Use the Add Set button at the bottom to add two more sets to the configuration. In the end, you should have the following three sets:
    Sensei with WooCommerce Paid Courses
    Sensei LMS

The Template file path for WooCommerce Paid Courses should be set to plugins/sensei-wc-paid-courses/lang/sensei-wc-paid-courses.pot.

You should now be able to manage all the translations for Sensei with WooCommerce Paid Courses in Loco Translate.