Bug 495532 - Language select in Tokodon is very hard to use (+ suggestions how to fix that)
Summary: Language select in Tokodon is very hard to use (+ suggestions how to fix that)
Status: CONFIRMED
Alias: None
Product: Tokodon
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.12.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-29 14:54 UTC by Matija Šuklje
Modified: 2025-05-05 18:46 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matija Šuklje 2024-10-29 14:54:07 UTC
SUMMARY



STEPS TO REPRODUCE
1. open Tokodon
2. create new message 
3. select a different language than default

OBSERVED RESULT

- the order of the languages seems arbitrary (why is English called “American English” and listed close to the bottom, neither E nor A are at the end of the alphabet)
- there is no way to search/filter for languages, making the user to carefully scroll through the whole list to spot the desired language

EXPECTED RESULT

- sort languages by alphabet (in either their native tongue or in the default language of KDE/Tokodon)
- enable search/filter of languages, so the user can simply find english by typing the (first) letters of it

SOFTWARE/OS VERSIONS

Operating System: EndeavourOS 
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.5-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: SLIMBOOK
Product Name: PROX-AMD5
Comment 1 ccamara 2025-03-02 22:02:10 UTC
I can confirm that this is still an issue with tokodon 24.12.2 and that I would also want to see implemented a solution like the proposed one (search and alphabetical sorting)
Comment 2 Bug Janitor Service 2025-04-27 17:09:02 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/tokodon/-/merge_requests/731
Comment 3 Joshua Goins 2025-04-27 21:24:50 UTC
Git commit 96be8745c6ea52dd99f640d4c19ce23b1344a0b3 by Joshua Goins.
Committed on 27/04/2025 at 20:55.
Pushed by redstrate into branch 'master'.

Show both the localized and native name of a language in the selector

This is only half of what we need to do in the selector to make it more
usable, but I encountered some problems when integrating a search field.
This should still be a modest improvement, though.

M  +8    -2    src/editor/languagemodel.cpp

https://invent.kde.org/network/tokodon/-/commit/96be8745c6ea52dd99f640d4c19ce23b1344a0b3
Comment 4 Ivan 2025-05-03 10:23:59 UTC
I'd be great if one could also "favourite" some languages so they appear "on top". This is actually how apps like Fedilab do it, to the extreme to which you can only select from those "favourited" languages.
Comment 5 Joshua Goins 2025-05-05 18:46:34 UTC
(In reply to Ivan from comment #4)
> I'd be great if one could also "favourite" some languages so they appear "on
> top". This is actually how apps like Fedilab do it, to the extreme to which
> you can only select from those "favourited" languages.

Tokodon already does this, but the UX isn't super obvious (related to this issue I guess 😅) Tokodon will put the UI languages at the top, so if you have your system set to "German, French, fallback to English" then it would put those at the top. Mastodon has a preferred posting language, I need to double-check if we can read/write that.