Moodle
  1. Moodle
  2. MDL-22575

International (English) name of the language should be part of langconfig.php

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.8, 2.0
    • Fix Version/s: 1.9.9, 2.0
    • Component/s: Language
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Rank:
      36049

      Description

      Add

      $string['thislanguageint'] = 'English name of the language';
      

      to every language pack so it can be used instead of thislanguage when needed.

        Issue Links

          Activity

          Hide
          David Mudrak added a comment -

          String added into all lang packs. The language international names taken from http://download.moodle.org/lang16

          Show
          David Mudrak added a comment - String added into all lang packs. The language international names taken from http://download.moodle.org/lang16
          Hide
          Eloy Lafuente (stronk7) added a comment -

          Hi David, just discovered that adding 'parentlanguage' to the en_utf8 lang pack (19_STABLE) is the ultimate cause for this to be happening since last week: MDL-22585

          As far as now the get_string('parentlanguage') call is returning empty string... I'm going to check for empties at admin/langimport.php so the "missing parentlang" message won't be printed.

          Please review my fix to MDL-22585. Ciao

          Show
          Eloy Lafuente (stronk7) added a comment - Hi David, just discovered that adding 'parentlanguage' to the en_utf8 lang pack (19_STABLE) is the ultimate cause for this to be happening since last week: MDL-22585 As far as now the get_string('parentlanguage') call is returning empty string... I'm going to check for empties at admin/langimport.php so the "missing parentlang" message won't be printed. Please review my fix to MDL-22585 . Ciao

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: