Closed bgailer closed 7 months ago
Well, this is annoying I thought it was there already.
So basically, the active language needs to be present when it gets rendered, i.e., this:
Needs to also happen for the $session
here:
Well, it seemed like it was still missing from the questiondescription as well...
In any case, note that only those languages that are used in the question-text will work in any of the parts of the question. So a quick test with only having [[lang]]
blocks in the feedback will not work.
Hello,
when using the [[lang]] Block in our STACK questions, it works fine in the question text, the specific feedback or the PRT feedback. When using the [[lang]] Block inside the general feedback, however, only the English version of the text is displayed. Our STACK Version is 2023121100.
I found a closed thread in the moodle forum (https://moodle.org/mod/forum/discuss.php?d=444209) where the author has a similar problem. When importing the example question given in this thread into our Moodle, the text in the specific feedback gets translated, but the text in the general feedback does not. So it seems that the issue regarding the specific feedback has already been fixed (maybe in #1051) but the issue with the general feedback is still there.