Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295995

Language list is not correctly ordered when it's localized with accents

$
0
0

Problem/Motivation

Language list is not correctly ordered when it's localized with accents. Especially if the first letter has an non ASCII letter they are sort to the end.
e.g. this Turkish country list:

Almanya
Birleşik Krallık(İngiltere) 
Fransa
Portekiz
Türkiye
Yunanistan
İspanya
İsviçre
İtalya

should be:

Almanya
Birleşik Krallık(İngiltere) 
Fransa
İspanya
İsviçre
İtalya
Portekiz
Türkiye
Yunanistan

Steps to reproduce

Proposed resolution

natcasesort in CountryManager should be replaced with an uasort with Drupal\Component\Transliteration\PhpTransliteration

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 295995

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>