Problem/Motivation
Country names are not sorted by the language specific rules.
Steps to reproduce
Configure the language to German. Open a country list. "Österreich" is listed at the very end of the list, but it should be after "Oman" (at the end of countries starting with "O") following the language specific rules. Other languages are affected as well, eg. Turkish.
Proposed resolution
Sort country names using PHP Collator
Remaining tasks
User interface changes
none
API changes
language_manager is added to the CountryFieldManager
country manager is removed from CountryAutocompleteController
Data model changes
none
Comments
Comment #3
sleitner commentedComment #4
sleitner commentedPatch against v1.1
Comment #5
schillerm commentedHi, I tested #4 patch against v1.1 (using same steps to reproduce error) and it works as described. Country names are now sorting correctly.
+1 for RTBC.
Comment #6
batigolixI tested this and it works.
It can also be tested in an English set up with the Åland Islands entry:
Before:
After:
Comment #8
batigolixThanks!