Problem/Motivation
Unicode CLDR Version 35 Language/Locale Data Released
We shall update the codes to the latest data (35.0.0)
Ref: http://blog.unicode.org/2019/03/unicode-cldr-version-35-languagelocale.html
Proposed resolution
Update CountryManager.php to latest data
Ref: https://raw.githubusercontent.com/unicode-cldr/cldr-localenames-full/mas...
Remaining tasks
User interface changes
None
API changes
None
Data model changes
None
Release notes snippet
@todo
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | 3044261-13.patch | 6.91 KB | pandaski |
| #13 | interdiff_7_13.txt | 395 bytes | pandaski |
| #10 | territories.txt | 9.58 KB | pandaski |
Comments
Comment #2
pandaski commentedcore/scripts/update-countries.sh is being used for creating the patch for 8.8.x
Comment #3
pandaski commentedComment #4
panchoQuite some changes this time. While most are fine, these aren't and have to be filtered out:
Comment #5
cilefen commentedLet’s update core/scripts/update-countries.sh to filter standard exclusions, which evidently exist.
Comment #6
cilefen commentedI suppose we should be updating the countries in every minor release and we need a way to remind ourselves.
Comment #7
pandaski commentedThanks for the review @Pancho
In the new patch #7 also updated the `update-countries.sh` file so we can skip the codes while running this script.
Comment #9
tim.plunkettMigrating credit from #3033340: Change country name for North Macedonia
Comment #10
pandaski commentedAttach `territories.txt` file which is the source file for `core/scripts/update-countries.sh`
Comment #11
pandaski commentedPlease review it, thanks
Comment #12
tstoecklerVerified that the changes in
CountryManager.phpare reproducable. I tried both 35.0 and 35.1 which has been released in the meantime, and there were no changes. (Changing title accordingly)The changes in the update-countries.sh script also look good. I wonder, though if we could add some more comments to the newly added lines, i.e.
Also maybe a link to the official reference would be helpful, I think, because these codes are somewhat obscure and not super easy to find. http://unicode.org/reports/tr35/#unicode_region_subtag_validity was the best link I could find, but maybe there's something better than that.
Comment #13
pandaski commentedPlease check the following updates in the new patch:
Personally, I cannot think many to improve this patch before a rethink of how we want to manage the countries in an innovated way (could take a while). In our current implementations, this is one of the best approaches to get the list updated and respect CLDR changes with local equivalents of “North Macedonia” (MK) and “Eswatini” (SZ) etc.
Comment #14
tstoecklerThanks! Looks good to me.
Comment #16
gábor hojtsySuperb, thanks all!