LifterLMS Downloads: Adding Lesson Resources Securely
How to add worksheets, PDFs, templates and other downloads to LifterLMS lessons, keep them limited to enrolled students, organize a course resource…
Read articleHow LifterLMS behaves when you translate courses with WPML or Polylang: why each language is a separate course for enrollment and progress, which architecture to pick, and the settings and code that keep checkout and the dashboard in the right language.
A LifterLMS multilingual site is perfectly achievable, but it is not a checkbox. LifterLMS is translation-ready, so its buttons and messages can appear in any language. Translating your own courses into several languages, and letting students switch between them, is a job for a multilingual plugin such as WPML or Polylang.
This guide is for course owners and developers planning a site in two or more languages. It explains what happens to courses, enrollments and progress when you translate them, helps you pick an architecture before you build, and covers the settings and one small piece of code that stop students landing on the wrong-language checkout or dashboard.
One expectation to set first: at the time of writing, LifterLMS is not on WPML's list of recommended LMS plugins, and the LifterLMS core plugin ships no WPML or Polylang specific code. Both can work with it, but you are responsible for testing the combination.
A multilingual LMS has two layers of text, and they are translated in different ways.
lifterlms text domain. WordPress loads the right file for the current locale, and multilingual plugins switch that locale per language.The first layer is covered in detail in our guide to translating LifterLMS and changing its default text. The rest of this article is about the second layer, which is where the real decisions are.
WPML and Polylang both translate a post by creating a second post and linking the two as translations. That model works well for pages. For an LMS it has consequences, because LifterLMS ties almost everything to post IDs.
| Item | How LifterLMS stores it | What translation means |
|---|---|---|
| Course, sections, lessons | Separate posts, linked by IDs saved as meta (a lesson stores its parent course and section) | The translated lessons must point at the translated course and sections, or the syllabus breaks |
| Quizzes and questions | Their own posts, attached to a lesson | Each language needs its own quiz attached to its own lesson |
| Access plans | Separate posts that point to a course or membership | Plans do not follow the course automatically; check pricing on every language |
| Enrollment and progress | Rows in the lifterlms_user_postmeta table, keyed by user and post ID | The Spanish course is a different ID, so it has its own enrollment and its own progress |
| Orders | Reference the product ID and plan ID purchased | A purchase grants access to one language version only |
| Engagements | Triggered by a specific course, lesson or quiz ID | An engagement on the English course does not fire for the French one |
The row that matters most is enrollment. To LifterLMS, the English and German versions of a course are two products. A student who buys one is not enrolled in the other, and progress made in one language does not count in the other. Nothing in core shares enrollment across translations.
That is not a bug to work around blindly. It is the fact your architecture has to start from.
There are four workable patterns. Pick one deliberately; changing later means moving enrollment data.
Each language version is its own course with its own access plans, linked as translations in WPML or Polylang so the language switcher works. Students buy and take the course in one language.
This is the simplest and most robust option, and the right default for most course businesses. Reporting stays clean, certificates and engagements can be language specific, and nothing depends on custom code.
If students should be able to switch language mid-course, sell a membership instead of the course. In the membership's Auto Enrollment settings, add every language version of the course. A member is then enrolled in all of them at once.
Progress is still tracked per language, so a student who switches halfway starts that version from the beginning. For short courses that is acceptable. For long programmes it usually is not.
Keeping one enrollment and one progress record while showing translated lessons is possible only with custom development: for example, mirroring completions from one language to its translation on the lifterlms_lesson_completed action, or serving one course with language-specific content blocks inside each lesson. It is the most complex route, so reserve it for cases where certification or compliance rules demand a single record.
A WordPress multisite network or fully separate sites, one per language or region. Each site runs its own LifterLMS with its own orders and students. This suits organisations with regional teams, separate pricing and currencies, or different legal entities, and it avoids multilingual plugin complexity altogether. The trade-off is that a learner's account and history do not move between sites.
Whichever plugin you choose, the setup follows the same order.
LifterLMS remembers its core pages as single IDs in options such as lifterlms_checkout_page_id and lifterlms_myaccount_page_id. Everywhere it needs one of them, it calls llms_get_page_id(), which runs a filter named lifterlms_get_{page}_page_id.
If your multilingual plugin does not translate those options, buttons send French students to the English checkout. There is a less visible side effect too: LifterLMS sends no-cache headers only to the checkout and dashboard IDs it knows about, so an unrecognised translated checkout page can end up in your page cache.
A small filter maps each page to its translation for the current language. It uses WPML's documented wpml_object_id filter or Polylang's pll_get_post() function, whichever is active:
<?php
/**
* Map LifterLMS core page IDs to the current language.
* Note: the course catalog filter is "shop" for historical reasons.
*/
function llmsx_translate_llms_page_id( $page_id ) {
$page_id = absint( $page_id );
if ( ! $page_id ) {
return $page_id;
}
if ( function_exists( 'pll_get_post' ) ) {
$translated = pll_get_post( $page_id );
return $translated ? $translated : $page_id;
}
// WPML: return the original ID if no translation exists.
return apply_filters( 'wpml_object_id', $page_id, 'page', true );
}
foreach ( array( 'checkout', 'myaccount', 'shop', 'memberships' ) as $llmsx_page ) {
add_filter( "lifterlms_get_{$llmsx_page}_page_id", 'llmsx_translate_llms_page_id' );
}
Put it in a small custom plugin rather than the theme, and test before relying on it: your multilingual plugin may already translate some of these options, in which case the filter changes nothing.
LifterLMS URL bases such as course, lesson and quiz are set once, in the site language at install time, and can be edited under Settings > Permalinks in the LifterLMS Permalinks section. They are single values, not one per language. Whether you can have /kurs/ for German and /course/ for English depends on your multilingual plugin's slug translation features, so check its documentation before promising localised URLs.
Interface strings in notification emails come out in the language active when the email is generated. The password reset email is the one place where core switches to the recipient's own WordPress locale. Engagement emails are content you write, so the reliable approach is the one above: a separate engagement and email per language version, triggered by that version's course.
Certificate templates are posts too. Create one per language and award each from the matching course's engagement, so a student who finished the Italian course receives an Italian certificate. Our guide to creating certificates in LifterLMS covers the template side.
{first_name} and shortcodes break easily. Never translate text inside curly braces or square brackets.my-courses are rewrite endpoints on one page; confirm they still resolve on every translated dashboard page, and re-save permalinks after adding languages.It can, but LifterLMS is not on WPML's recommended LMS list at the time of writing and has no WPML-specific code in core. Plan on the separate-courses-per-language model and test enrollment, checkout and emails in each language.
Yes. Enable the LifterLMS post types and taxonomies for translation in Polylang's settings and follow the same steps. The page-mapping filter above supports both.
Not by default. Each translated course is a separate post with its own progress. Sharing progress across languages needs custom development.
No. Set the site language in WordPress and load the LifterLMS translation. A multilingual plugin is only needed when the same site serves several languages.
For most academies, start with separate courses per language, linked as translations, and add a membership if one purchase should unlock every version. It is the setup with the fewest moving parts and the cleanest reporting.
If you need shared progress across languages, regional sites, or a migration from one structure to another, that is custom work worth scoping before you translate a single lesson. Our LifterLMS development team can plan the architecture with you; get in touch with your languages and how students should buy.
How to add worksheets, PDFs, templates and other downloads to LifterLMS lessons, keep them limited to enrolled students, organize a course resource…
Read article
How LifterLMS records quiz attempts, which attempt counts, how to manually grade answers with partial credit, what students see on the results…
Read article
A practical plan for organizing LifterLMS courses with categories, tags, tracks and difficulty levels: what each one is for, where it shows up, how…
Read articleSkip the trial and error. Get specialist LifterLMS help and ship faster.