locale_data is a collection of translated territories and languages names, stocked in YAML files for easy consumption.
The data comes from CLDR.
To update the YAML files, update the data in data and run the update scripts ./scripts/languages.rb and ./scripts/territories.rb.