libkiwix
libkiwix copied to clipboard
Sort library categories differently
I suggest changing the sorting by category.
Now the sorting is in the English alphabet: A-B-C - etc.:
I suggest changing this list to look like this:
- All
- Wikipedia
- Wikinews
- Wikiversity
- Wikivoyage
- Wikiquote
- Wikisource
- Wiktionary
- Vikidia
- Psiram
- Stack Exchange
- Other
PS: maybe you should delete Psiram?
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
In the future, the list will be dynamically retrieved from the OPDS stream. See https://github.com/kiwix/kiwix-tools/issues/318. It will be decided upstream.
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
In kiwix/kiwix-desktop#965, im still sorting the items alphabetically. Do we use the default order as provided by libkiwix?
@juuz0 The order should follow the one in the OPDS stream. We have a very similar problem with https://github.com/kiwix/libkiwix/issues/980 IMO. Therefore this ticket should probably be moved on kiwix/libkiwix
This is not exactly the same problem. Here it is easy to found a sorting order: The category name in the current ui language. The problem with language is that it is the first thing a user will want to change if it is not its language (or a language they cannot read). We can expect that the user will interact with the category selector in a language they understand.
@mgautierfr Yes, so first we need tomtranslate the categories and then we need to sort them (like you said).