Overview of the Issue
LearnDash plugin allows you to change your courses URL structure from SettingsPermalinks page and checking the Enable Nested URLs (opens in a new tab) option.
However, if you set your Courses (sfwd-courses) and Lessons (sfwd-lessons) as Translatable – use translation if available or fallback to default language in WPMLSettingsPost Types Translation, lessons will not open from the courses page.

Checked with LearnDash 5.1.10 (October 2026): this still happens, and both workarounds on this page still fix it.
Workaround
As workaround you can go to WPMLSettingsPost Types Translation page and set your Courses (sfwd-courses) and Lessons (sfwd-lessons) as Translatable – only show translated items and duplicate them.
Alternatively, you can add the following line into your wp-config.php or functions.php theme file:
define( 'LEARNDASH_FILTER_PRIORITY_THE_CONTENT', 101 );