kiwix-android icon indicating copy to clipboard operation
kiwix-android copied to clipboard

Library language list should be retrieved dyanmically from libkiwix

Open kelson42 opened this issue 4 years ago • 6 comments
trafficstars

For the moment the list is hardcoded at the Kiwix-Android level. But since a few weeks @veloman-yunkan has implemented in libkiwix10 the primitive to get the list of languages for which we have contents. This is available both at the ABI level and in a form of a REST API end-point.

Therefore the Ladakhi is already (modulo https://github.com/kiwix/libkiwix/issues/611) listed in the list of languages of the library.

So far this is used only by Kiwix-Serve to populate its welcome page filters selecboxes, but the goal is that the Kiwix Andrid relies on it as well.

kelson42 avatar Aug 28 '21 09:08 kelson42

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.

stale[bot] avatar Jan 03 '22 21:01 stale[bot]

Didn't understand the goal. Do we want that while onBoarding user should select their language? Or is it related to language shown in the LibraryFrgament

rishujam avatar Jan 29 '23 18:01 rishujam

Didn't understand the goal. Do we want that while onBoarding user should select their language? Or is it related to language shown in the LibraryFrgament

Title is clear IMO: "Library language list"

kelson42 avatar Jan 29 '23 18:01 kelson42

What is the endpoint for this @kelson42

rishujam avatar Feb 01 '23 18:02 rishujam