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

Some language packs incorrectly define decsep and/or thousandssep

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.4, 2.2.1
    • Fix Version/s: None
    • Component/s: Language
    • Labels:
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE

      Description

      See http://moodle.org/mod/forum/discuss.php?d=194416 and http://moodle.org/mod/forum/discuss.php?d=194253

      Presumably AMOS can easily extract a list of languages where decsep and/or thousandssep are blank, or equal to each other. These need to be fixed somehow.

      For PL, it defines decsep = , in langconfig, but does not define thousandssep, so it gets , from english, so the two characters end up the same, which breaks the numerical qtype parsing.

      ES_MX does not define either decsep or thousandssep, and so inherit from Spanish, although, according to Luis Vázquez de Lara, the use English-style . for decsep, not European-style ,.

        Gliffy Diagrams

          Activity

            People

            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: