-
Bug
-
Resolution: Deferred
-
Minor
-
None
-
3.11.15, 4.1.4
-
WP Sprint 2023-I4.2 (Clones), WP Sprint 2023-I4.3
Moodle Workplace language packs use a code with _wp added to the original language pack code. In our case (Netherlands) the original language pack is nl and the Workplace is nl_wp.
When using H5P it determines the interface based on the language pack. So if you have nl als language pack it shows the H5P interface in Netherlands. However if you add the nl_wp language pack it falls back to English.
Apparently this issue has been solved for Moodle LMS in tracker 71050 which has been closed for some time. There the issue appeared with for example en_kids.
I hope this one can easily be fixed for _wp packages as well.
Steps to reproduce
- Login as admin.
- Install nl_wp language pack.
- Go to the Content bank.
- Switch language to nl_wp.
- Add a "Multiple choice"
- Expand the "Text overrides and translations" section (placed at the end of the editor).
- Although the strings are translated OK (it was fixed in
MDL-71050), the Language selector is not displaying the current language.
Expected behaviour
In the Language selector, Dutch (Nederlands) is selected.
Current behaviour