Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-5970

indentation wrong on download.moodle.org/langpack/version

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Component/s: download.moodle.org
    • Labels:
      None

      Description

      On https://download.moodle.org/langpack/3.7 there has been done an attempt to indent the child language packs under their parent language, but the way it is implemented is wrong.

      Examples:

      se.zip looks like it is a child language of rm.zip, but it isn't - it is a child form no

      sma.zip and smj.zip look like they are child of sm.zip, but they aren't - they are also child from no.

      es_ve.zip and es_wp.zip look like they are childe of es_mx.zip, but they arent't - they are child from es

      There are loads more of these.

      I see 2 ways to fix this:

      • either search the logic in the language pack to figure out how the ordering should be (based on the content of 'parentlanguage | core_langconfig' which is a neat solution but in my opinion a waste of development time since the parent language information is already in the string count (eg Lulesamisk smj.zip 806 bytes 2015-08-24 13:42 UTC 8 changes from no)
      • remove the indentation logic completely. May be the italic could be left in to indicate that a parent language will be installed to support the child language, but to me even that seems redundant.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            koen Koen Roggemans
            Participants:
            Component watchers:
            Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: