Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-37124 META: Language packs installation/update improvements
  3. MDL-46210

Provide option to update installed language packs as a scheduled task

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7, 2.8
    • 2.8
    • Language
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MOODLE_28_STABLE
    • MDL-46210-master
    • Hide
      1. Run behat tests with --tags=@tool_langimport
      2. VERIFY they are skipped (as TOOL_LANGIMPORT_REMOTE_TESTS is not defined)
      3. Define TOOL_LANGIMPORT_REMOTE_TESTS in config.php
      4. Run behat with --tags=@tool_langimport and VERIFY all tests pass
      5. Install a few language packs on your site
      6. Manually outdate your langpacks by editing the file $CFG->dataroot/lang/$langcode/$langcode.md5 and changing the checksum
      7. Run the scheduled task manually by running php admin/tool/task/cli/schedule_task.php --execute=\\tool_langimport\\task
        update_langpacks_task
      8. Remove a few langpacks
      Show
      Run behat tests with --tags=@tool_langimport VERIFY they are skipped (as TOOL_LANGIMPORT_REMOTE_TESTS is not defined) Define TOOL_LANGIMPORT_REMOTE_TESTS in config.php Run behat with --tags=@tool_langimport and VERIFY all tests pass Install a few language packs on your site Manually outdate your langpacks by editing the file $CFG->dataroot/lang/$langcode/$langcode.md5 and changing the checksum Run the scheduled task manually by running php admin/tool/task/cli/schedule_task.php --execute=\\tool_langimport\\task update_langpacks_task Remove a few langpacks

    Description

      Quoting germanvaleroelizondo: "There are too many Moodle servers with outdated language packs worldwide."

      An option to automatically update installed lang packs would prevent Moodle admins to forget to do so.

      Attachments

        Issue Links

          Activity

            People

              poltawski Dan Poltawski
              mina Nicolas Martignoni
              David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
              Marina Glancy Marina Glancy
              Mark Nelson Mark Nelson
              Aya Saad, David Mudrák (@mudrd8mz), Helen Foster, Víctor Déniz Falcón
              Votes:
              11 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Nov/14