microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.05k stars 6.53k forks source link

[Settings] Quick Accent character sets not sorted alphabetically #30000

Open PesBandi opened 11 months ago

PesBandi commented 11 months ago

Microsoft PowerToys version

0.75.1

Installation method

GitHub, PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

Settings

Steps to reproduce

The languages in the Quick Accent character set picker combobox aren't sorted alphabetically. It looks like there was an attempt to sort them, but some of them are in the wrong place.

All
Catalan
Currency
Croatian
Czech
Danish
Gaeilge
Gaidhlig
Dutch
Greek
Estonian
Finnish
French
German
Hebrew
Hungarian
Icelandic
Italian
Kurdish
Lithuanian
Macedonian
Maori
Norwegian
Pinyin
Polish
Portuguese
Romanian
Slovak
Spanish
Serbian
Swedish
Turkish
Welsh
Character set picker languages

I understand that this will break anyway when localized and that it is really unimportant, but I think it would be better if it was sorted (at least in English). I will work on this if someone says I should.

✔️ Expected Behavior

Sorted

❌ Actual Behavior

Not sorted

Other Software

No response

Jay-o-Way commented 11 months ago

Hello and thanks for your message. The crucial issue here is localization. "Greek", for example, is also known as "Ellenas", which is why it's at the beginning of "E". The best thing would be to sort a list after translation. The same applies to the names of the modules in the navigation menu.

PesBandi commented 11 months ago

@Jay-o-Way hello and thank you for the quick response. As I already mentioned, I know that this will be a problem after localization, but I don't think that anything is currently sorted after translation. What I want to say is that for example the modules in the left pane are sorted alphabetically based on their English name, but they aren't sorted after localization (as already mentioned in #23763, #24577, #29323), but at least they are sorted by something that makes sense. The sorting of character sets in Quick Accent is a weird mix of English names and their language codes. So the question is, should I leave this issue open until someone figures out a way to sort settings after localization or should I sort the character sets by their English names so that at least some users have them sorted?