When changing language, it is now applied directly, but it can still happen in some places that the translation of previously selected language is used. I've noticed it especially in ProgrammingMaze tutorials. I think I also saw this in other places but forgot to note them... To reproduce: - select a new language and apply - start ProgrammingMaze activity - The text content of the tutorials is still in the previously-selected language.
Thanks for reporting. It seems to affect all the Tutorial. One fix would be to change the array of instructions to a ListModel everywhere, I'll work on it in the coming days. Then, we'll need to look for other strings that are in arrays :/
A possibly relevant merge request was started @ https://invent.kde.org/education/gcompris/-/merge_requests/247
Git commit 1534a7bf4e1af96a9428fa735403bb8ccb48b4d5 by Johnny Jazeix. Committed on 17/04/2025 at 18:49. Pushed by jjazeix into branch 'master'. core, rework Tutorial to have a ListModel for translations M +35 -1 src/activities/binary_bulb/BinaryBulb.qml M +0 -34 src/activities/binary_bulb/binary_bulb.js M +16 -1 src/activities/grammar_analysis/GrammarAnalysis.qml M +0 -23 src/activities/grammar_analysis/grammar_analysis.js M +6 -0 src/activities/grammar_classes/GrammarClasses.qml M +12 -4 src/activities/learn_decimals/Learn_decimals.qml M +0 -52 src/activities/learn_decimals/learn_decimals.js M +16 -0 src/activities/learn_decimals_additions/Learn_decimals_additions.qml M +16 -0 src/activities/learn_decimals_subtractions/Learn_decimals_subtractions.qml M +12 -0 src/activities/learn_quantities/Learn_quantities.qml M +24 -1 src/activities/nine_men_morris/NineMenMorris.qml M +0 -22 src/activities/nine_men_morris/nine_men_morris.js M +35 -37 src/activities/numbers-odd-even/NumbersOddEven.qml M +1 -1 src/activities/planegame/Planegame.qml M +49 -8 src/activities/programmingMaze/ProgrammingMaze.qml M +0 -36 src/activities/programmingMaze/programmingMaze.js M +6 -7 src/core/Tutorial.qml https://invent.kde.org/education/gcompris/-/commit/1534a7bf4e1af96a9428fa735403bb8ccb48b4d5
Git commit 03f47375a98e6dd8ca97fa5ad82aad4197e76d45 by Johnny Jazeix. Committed on 25/04/2025 at 08:47. Pushed by jjazeix into branch 'KDE/25.0'. core, rework Tutorial to have a ListModel for translations M +35 -1 src/activities/binary_bulb/BinaryBulb.qml M +0 -34 src/activities/binary_bulb/binary_bulb.js M +16 -1 src/activities/grammar_analysis/GrammarAnalysis.qml M +0 -23 src/activities/grammar_analysis/grammar_analysis.js M +6 -0 src/activities/grammar_classes/GrammarClasses.qml M +12 -4 src/activities/learn_decimals/Learn_decimals.qml M +0 -52 src/activities/learn_decimals/learn_decimals.js M +16 -0 src/activities/learn_decimals_additions/Learn_decimals_additions.qml M +16 -0 src/activities/learn_decimals_subtractions/Learn_decimals_subtractions.qml M +12 -0 src/activities/learn_quantities/Learn_quantities.qml M +24 -1 src/activities/nine_men_morris/NineMenMorris.qml M +0 -22 src/activities/nine_men_morris/nine_men_morris.js M +35 -37 src/activities/numbers-odd-even/NumbersOddEven.qml M +1 -1 src/activities/planegame/Planegame.qml M +49 -8 src/activities/programmingMaze/ProgrammingMaze.qml M +0 -36 src/activities/programmingMaze/programmingMaze.js M +6 -7 src/core/Tutorial.qml https://invent.kde.org/education/gcompris/-/commit/03f47375a98e6dd8ca97fa5ad82aad4197e76d45