Hi,
Thanks for the detailed explanation. Now I see what you mean, and you are right, there is a display problem there. It would be interesting to find out if there are other Moodle
activities that use this particular way of naming the course "home".
I will try to find a solution.
EDIT.- I have not found another activity which uses the get_string("backto"...) element which is used by Questionnaire. If you are an admin on your Moodle site and have access to the Moodle files, and are brave enough to hack them, this very simple hack (one line change) would provide a temporary solution. If you can do it and are satisfied with the result, then I will suggest it as a fix when I create an issue on the Questionnaire github. This hack will simply display a "Return to course" without using the name of the current course, but it should be sufficient for the student to understand what it means and, of course, this message will be displayed in the current language being used: see my screenshot below.
This is using current Moodle 4.3.3+ and Questionnaire 4.1.0 (Build - 2023081100) 2022121600.02 . The exact location of that line may be slightly different on your site.
In file MYMOODLESITE/mod/questionnaire/questionnaire.class.php line 2553
replace
get_string("backto", "moodle", $this->course->fullname)));
with
get_string("asyncreturn", "backup")));
---------------------------------