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

Registration form language default isn't pre-filled for localized languages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.2.3, 3.3
    • Fix Version/s: 3.2.4, 3.3.1
    • Component/s: Administration
    • Labels:
    • Testing Instructions:
      Hide
      • Install two language packs: en and en_us
      • Set current language to English
      • Go to /admin/registration/register.php, see that English is pre-selected in the language dropdown
      • Change language to English - United States
      • Reload page, see that language is correctly set to English

       

      Show
      Install two language packs: en and en_us Set current language to English Go to /admin/registration/register.php, see that English is pre-selected in the language dropdown Change language to English - United States Reload page, see that language is correctly set to English  
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      In cases where the current language contains a region name (ie. fr_CA, es_MX, pt_BR), the registration form (under /admin/registration/register.php) isn't pre-filled with the current language.

      How to reproduce

      • Install two language packs: en and en_us
      • Set current language to English
      • Go to /admin/registration/register.php, see that English is pre-selected in the language dropdown
      • Change language to English - United States
      • Reload page, see that language is set to Abkhazian (or whatever comes first in the language list)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Jul/17