Okay, managed to solve it.
For anyone searching for this: it worked when I went to Polylang ->Settings -> Custom post types and Taxonomies -> Settings and select my custom post type (courses) to be translatable.
Afterwards open the course and hit the “save” button to update the post.
Now it is visible on the TSF sitemap.