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

countries.php is missing some new counties (such as South Sudan)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.2, 2.4.1, 2.5
    • Fix Version/s: 2.5
    • Component/s: Language
    • Labels:
    • Testing Instructions:
      Hide

      BEFORE UPGRADING (say, in 2.4):

      1. Create two users,
      2. Set your one USERA country to Netherlands Antilles
      3. Set USERB country to Australia

      UPGRADE to master

      1. Verify that when you login as USERA and visit profile edit page they need to choose their country and its not set to anything.
      2. Verify that when you login as USERB, they don't need to choose their country and it continues to be set as Australia
      3. Check that South Sudan appears in the countries list
      Show
      BEFORE UPGRADING (say, in 2.4): Create two users, Set your one USERA country to Netherlands Antilles Set USERB country to Australia UPGRADE to master Verify that when you login as USERA and visit profile edit page they need to choose their country and its not set to anything. Verify that when you login as USERB, they don't need to choose their country and it continues to be set as Australia Check that South Sudan appears in the countries list
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:

      Description

      countries.php is missing some new counties. Here are the missing codes...
      $string['BQ'] = 'Bonaire, Sint Eustatius and Saba';
      $string['CW'] = 'Curaçao';
      $string['XK'] = 'Kosovo';
      $string['SX'] = 'Sint Maarten (Dutch part)';
      $string['SS'] = 'South Sudan';

      Kosovo might be controversial since it is a temporary allocation but is used by the European Commission and others.

      See...
      http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
      http://www.iso.org/iso/home/standards/country_codes/iso-3166-1_decoding_table.htm

      I have attached a new countries.php file and a patch file.

      Alan.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    14/May/13