-
Bug
-
Resolution: Fixed
-
Low
-
None
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.