Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-74608

Allow the teacher to force the language for an activity, as well as at course level

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0, 4.1
    • 4.1
    • Language
    • MOODLE_400_STABLE, MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • Hide

      To test this, you need a Moodle site with some alternative language packs installed.

      I don't really want to write a specific test script here. I would rather the tester did some exploratory testing to try to break this feature (and then failed).

      The new setting is when you create an activity. There should be a new 'Forced langauge' setting under 'Common module settings'. And, that is like the existing 'Forced language' option in the course settings.

      • Those should only appear to users with moodle/course:setforcedlanguage capability.
      • If set for an activity, that takes precedence over the course setting.
      • If a user without the capability edits an activity, the setting is not lost.

      (I think that other aspects are covered by automated tests:

      • All the web services that the mobile app will need have been updated to include the new setting.
      • A user cannot user backup/restore to get around the moodle/course:setforcedlanguage capability restriction.)
      Show
      To test this, you need a Moodle site with some alternative language packs installed. I don't really want to write a specific test script here. I would rather the tester did some exploratory testing to try to break this feature (and then failed). The new setting is when you create an activity. There should be a new 'Forced langauge' setting under 'Common module settings'. And, that is like the existing 'Forced language' option in the course settings. Those should only appear to users with moodle/course:setforcedlanguage capability. If set for an activity, that takes precedence over the course setting. If a user without the capability edits an activity, the setting is not lost. (I think that other aspects are covered by automated tests: All the web services that the mobile app will need have been updated to include the new setting. A user cannot user backup/restore to get around the moodle/course:setforcedlanguage capability restriction.)

    Description

      At the moment in Moodle, you can force the UI language at course level:

      This issue is to add the same feature at activity level too? This will be a new option in the 'Common module settings' part of the activity settings form:

      This feature is being discussed at https://moodle.org/mod/forum/discuss.php?d=434039

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Mahmoud Kassaei Mahmoud Kassaei
              Andrew Lyons Andrew Lyons
              Simey Lameze Simey Lameze
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Nov/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 4 hours, 54 minutes
                  2d 4h 54m