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

"update all local language packs" fails if local language pack is installed and deletes local pack.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.4, 1.9
    • Fix Version/s: 1.9, 2.0
    • Component/s: Language
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      I can use the "update all local language packs" on the "Language packs" panel (langimport.php) if I have only standard languages installed. However, if I add a local language pack (not _local language folder but full language pack), the "update all local language packs" script gives an error: Cannot find component.

      The local language pack has the langconfig.php with parent setting pointing to one of the installed languages. It shows in the list and the language switching menu and works fine otherwise.

      Moodle 1.9 (beta 3) deletes the folder with the non-standard language !!! Moodle 1.8 at least left it alone.

      Sounds like Moodle needs to be able to distinguish local and standard packs or allow us to specify which language to update as an alternative to bulk update (unless having local language packs is not supported anymore).

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            robek Robert Brenstein
            Tester:
            Nobody
            Participants:
            Component watchers:
            David Mudrák (@mudrd8mz), Helen Foster, Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Mar/08